How to avoid "f.close" (no parens) bug?
Batista, Facundo
FBatista at uniFON.com.ar
Wed Feb 11 10:33:55 EST 2004
Skip Montanaro wrote:
#- Pychecker reports:
#-
#- % pychecker foo.py
#- name: foo
#- Processing foo...
#-
#- Warnings...
#-
#- foo.py:4: Statement appears to have no effect
Why "appears"?
There is any case when f.close, or bar or something like "not a call to a
function (there is no ')'), with no '=' at the left or at the right" has any
effect?
If no, could Python alert before run time?
I don't see nothing, but I'm kinda blind, :p
. Facundo
More information about the Python-list
mailing list