Inconsistency in Python?
dance_code at hotmail.com
Thu Aug 29 04:00:41 EDT 2002
I just played with the built-in function getattr() to find some
interesting things arround, and I found something strange.
Look these code:
while comes up with an int object:
SyntaxError: invalid syntax
It reports a syntax error! Though I know the code upside is useless,
is it inconsistency in Python?
More information about the Python-list