Extending the 'function' built-in class

G. grumsk at grumsk.tz
Sun Dec 1 20:18:58 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 ?

Regards, G.



More information about the Python-list mailing list