]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue 1717: Finish de-documenting cmp(). Removal to follow.
authorRaymond Hettinger <python@rcn.com>
Sun, 7 Dec 2008 01:48:34 +0000 (01:48 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 7 Dec 2008 01:48:34 +0000 (01:48 +0000)
Doc/library/functions.rst

index 24877ef9af5f328d115ab86b7d3d1a0e9baac3cd..01849eee14a8a618048b15f7e454f830c126dfb8 100644 (file)
@@ -190,13 +190,6 @@ are always available.  They are listed here in alphabetical order.
    type hierarchy in :ref:`types`.
 
 
-.. function:: cmp(x, y)
-
-   Compare the two objects *x* and *y* and return an integer according to the
-   outcome.  The return value is negative if ``x < y``, zero if ``x == y`` and
-   strictly positive if ``x > y``.
-
-
 .. function:: compile(source, filename, mode[, flags[, dont_inherit]])
 
    Compile the *source* into a code or AST object.  Code objects can be executed