diff options
author | Fred Drake <fdrake@acm.org> | 2001-01-04 15:11:48 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-01-04 15:11:48 (GMT) |
commit | 445f832060cb07331bf54ebf7b033c33b816d1b8 (patch) | |
tree | 8c1df0f43f9f26a141d49cd23b13a96cfeadc63b /Doc/ref/ref3.tex | |
parent | 4e18f07613f2cdf25f9436da36c88f16e783075a (diff) | |
download | cpython-445f832060cb07331bf54ebf7b033c33b816d1b8.zip cpython-445f832060cb07331bf54ebf7b033c33b816d1b8.tar.gz cpython-445f832060cb07331bf54ebf7b033c33b816d1b8.tar.bz2 |
__rcmp__() description: Changed to indicate that this is no longer
supported as of Python 2.1. We still need to
have an entry for this since it is reasonable
for users to want to understand existing code.
This closes SF bug #122715.
Diffstat (limited to 'Doc/ref/ref3.tex')
-rw-r--r-- | Doc/ref/ref3.tex | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index cd75d0c..a012188 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -955,14 +955,7 @@ instances are compared by object identity (``address''). \end{methoddesc} \begin{methoddesc}[object]{__rcmp__}{self, other} -Called by all comparison operations. Should return a negative integer if -\code{self < other}, zero if \code{self == other}, a positive integer if -\code{self > other}. If no \method{__cmp__()} operation is defined, class -instances are compared by object identity (``address''). -(Note: the restriction that exceptions are not propagated by -\method{__cmp__()} has been removed in Python 1.5.) -\bifuncindex{cmp} -\index{comparisons} + \versionchanged[No longer supported]{2.1} \end{methoddesc} \begin{methoddesc}[object]{__hash__}{self} |