"has" Operator
Alex
new_name at mit.edu
Sat Jul 7 17:19:18 EDT 2001
Previous message (by thread):
"has" Operator
Next message (by thread):
"has" Operator
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
You can already do if hasattr(myobject, someattribute): foo() Alex.
Previous message (by thread):
"has" Operator
Next message (by thread):
"has" Operator
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-list mailing list