Decorators: an outsider's perspective
Paul Morrow
pm_mon at yahoo.com
Sat Aug 14 23:04:35 EDT 2004
More information about the Python-list mailing list
Sat Aug 14 23:04:35 EDT 2004
- Previous message (by thread): Decorators: an outsider's perspective
- Next message (by thread): Decorators: an outsider's perspective
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
> class Foo:
> def setX(self, x):
> self.x = x
>
The indentation was messed-up on that example. It should have been...
class Foo:
def setX(self, x):
self.x = x
- Previous message (by thread): Decorators: an outsider's perspective
- Next message (by thread): Decorators: an outsider's perspective
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list