if frameType.__class__.__name__ == 'FrameType':
...
else:
raise 'frameType must be an instance of FrameType'
Thursday, 2 April 2009
Type-Safe Python
Introspection, baby !
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment