]> granicus.if.org Git - python/commit
Do the same thing to complex that I did to str: the rich comparison
authorGuido van Rossum <guido@python.org>
Mon, 24 Sep 2001 17:52:04 +0000 (17:52 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 24 Sep 2001 17:52:04 +0000 (17:52 +0000)
commit2205642fe0af9c00bbfa713dae1c8ba4562d2236
tree4dadb02c974dad9e00ebe1ec1b5a43e12fba18eb
parente47df7a2117c14eb5b0445a3002766d54e75278d
Do the same thing to complex that I did to str: the rich comparison
function returns NotImplemented when comparing objects whose
tp_richcompare slot is not itself.
Lib/test/test_descr.py
Objects/complexobject.c