while expression feature proposal

Paul Rubin no.email at nospam.invalid
Wed Oct 24 18:47:17 EDT 2012


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

obviously add

          return self.result 



More information about the Python-list mailing list