Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #32074

Re: while expression feature proposal

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.python
Subject Re: while expression feature proposal
References <50886398.5050301@tim.thechases.com> <mailman.2800.1351117627.27098.python-list@python.org> <7x625zo5su.fsf@ruckus.brouhaha.com>
Date 2012-10-24 15:47 -0700
Message-ID <7xhapjzdvu.fsf@ruckus.brouhaha.com> (permalink)
Organization Nightsong/Fort GNOX

Show all headers | View raw


Paul Rubin <no.email@nospam.invalid> writes:
>   class memo:
>      def __call__(f, *args, **kw):
>         self.result = f(*args, **kw)

obviously add

          return self.result 

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: while expression feature proposal Cameron Simpson <cs@zip.com.au> - 2012-10-25 09:26 +1100
  Re: while expression feature proposal Paul Rubin <no.email@nospam.invalid> - 2012-10-24 15:37 -0700
    Re: while expression feature proposal Paul Rubin <no.email@nospam.invalid> - 2012-10-24 15:47 -0700
    Re: while expression feature proposal Cameron Simpson <cs@zip.com.au> - 2012-10-25 09:58 +1100
  Re: while expression feature proposal Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-10-25 11:44 +0200
  Re: while expression feature proposal Grant Edwards <invalid@invalid.invalid> - 2012-10-25 14:15 +0000
    Re: while expression feature proposal Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-10-25 18:15 +0200

csiph-web