commit | e874fc304e0ea29fc9608023b3f153b566e0acef | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun May 12 05:53:51 2002 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun May 12 05:53:51 2002 +0000 |
tree | e76db95537adb58d71c43daa97d5caefcba467a4 | |
parent | 94153096f5bb3dd19989d83ffbc38f140828ae3a [diff] |
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.