]> granicus.if.org Git - python/commit
default_3way_compare(): use PyNumber_Check(), rather than testing for
authorGuido van Rossum <guido@python.org>
Tue, 18 Feb 2003 16:40:09 +0000 (16:40 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 18 Feb 2003 16:40:09 +0000 (16:40 +0000)
commitfb50d3ffa13a6fadd69da358869028cade89d3ca
tree7642a43df9a2a81bc0486c980d306d39de3a0a51
parent6921eca227ac2283ebcdf98e10aebea57bd5daf3
default_3way_compare(): use PyNumber_Check(), rather than testing for
tp_as_number directly.
Objects/object.c