diff options
author | Raymond Hettinger <python@rcn.com> | 2002-05-12 05:53:51 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-05-12 05:53:51 (GMT) |
commit | e874fc304e0ea29fc9608023b3f153b566e0acef (patch) | |
tree | e76db95537adb58d71c43daa97d5caefcba467a4 /Lib/inspect.py | |
parent | 94153096f5bb3dd19989d83ffbc38f140828ae3a (diff) | |
download | cpython-e874fc304e0ea29fc9608023b3f153b566e0acef.zip cpython-e874fc304e0ea29fc9608023b3f153b566e0acef.tar.gz cpython-e874fc304e0ea29fc9608023b3f153b566e0acef.tar.bz2 |
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.
Diffstat (limited to 'Lib/inspect.py')
0 files changed, 0 insertions, 0 deletions