Closed GoogleCodeExporter closed 8 years ago
Huh! Didn't notice that. Thanks!
However, why does Python not complain? I'm quite confused.
Original comment by devicera...@gmail.com
on 13 Mar 2008 at 7:08
Hi!
in "f.close" you get <close> method of file variable <f>, but didnt used it ;)
Another right (and long) way:
=============================
close_method = f.close
close_method()
=============================
python dont report this as error by herself -- it think that you get method from
class instance, but not assigning to any variable ;)
sorry for my english
Original comment by abcde...@gmail.com
on 13 Mar 2008 at 11:00
Should be fixed now *blush*
Original comment by devicera...@gmail.com
on 5 May 2008 at 11:27
Original issue reported on code.google.com by
abcde...@gmail.com
on 4 Feb 2008 at 12:42