commit | fb50d3ffa13a6fadd69da358869028cade89d3ca | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Feb 18 16:40:09 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Feb 18 16:40:09 2003 +0000 |
tree | 7642a43df9a2a81bc0486c980d306d39de3a0a51 | |
parent | 6921eca227ac2283ebcdf98e10aebea57bd5daf3 [diff] |
default_3way_compare(): use PyNumber_Check(), rather than testing for tp_as_number directly.