Extending the 'function' built-in class

Mark Janssen dreamingforward at gmail.com
Mon Dec 2 02:26:50 CET 2013

> Hi, I can't figure out how I can extend the 'function' built-in class. I tried:
>   class test(function):
>     def test(self):
>       print("test")
> but I get an error. Is it possible ?

It has to do with differing models of computation, and python isn't
designed for this.  Perhaps you're searching for the ultimate lambda?.
Tacoma, Washington

More information about the Python-list mailing list