]> granicus.if.org Git - python/commit
Closes SF patch 553277. Per GvR, reverting to original patch -- the way to
authorRaymond Hettinger <python@rcn.com>
Sun, 12 May 2002 05:53:51 +0000 (05:53 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 12 May 2002 05:53:51 +0000 (05:53 +0000)
commite874fc304e0ea29fc9608023b3f153b566e0acef
treee76db95537adb58d71c43daa97d5caefcba467a4
parent94153096f5bb3dd19989d83ffbc38f140828ae3a
Closes SF patch 553277.  Per GvR, reverting to original patch -- the way to
test if 'callable' has not been supplied is to test for None instead of
False.  The previous correction to 'if callable()' was wrong because an unusable
callback would be ignored rather than raising an exception.
Lib/ftplib.py