scalar vs array and program control

Thomas 'PointedEars' Lahn PointedEars at web.de
Sat Jul 25 18:56:32 CEST 2015


Thomas 'PointedEars' Lahn wrote:

> #------------------------------------------------------------------------
> class A:
>     def __init__ (self, v=0):
>         self._value = v
> 
>     def foo (self, f, b):
>         return f(f, self._value, b)

I mean

        return f(self._value, b)

-- 
PointedEars

Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.


More information about the Python-list mailing list