Data attributes...
Mark McEahern
marklists at mceahern.com
Thu Jan 24 14:01:25 EST 2002
More information about the Python-list mailing list
Thu Jan 24 14:01:25 EST 2002
- Previous message (by thread): Data attributes...
- Next message (by thread): Data attributes...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Emile van Sebille wrote: > You can have the class enforce rules that only allow pre-defined > attributes. Look for __setattr__ as you continue through the tutorial. Is this what __slots__ is for in new-style classes? (Python 2.2). // mark
- Previous message (by thread): Data attributes...
- Next message (by thread): Data attributes...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list