From: Raymond Hettinger Date: Sun, 7 Dec 2008 01:48:34 +0000 (+0000) Subject: Issue 1717: Finish de-documenting cmp(). Removal to follow. X-Git-Tag: v3.0.1~257 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4218291d04a3ca15851a682b894ad6d8a1ddafa9;p=thirdparty%2FPython%2Fcpython.git Issue 1717: Finish de-documenting cmp(). Removal to follow. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 24877ef9af5f..01849eee14a8 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -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