From 4218291d04a3ca15851a682b894ad6d8a1ddafa9 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 7 Dec 2008 01:48:34 +0000 Subject: Issue 1717: Finish de-documenting cmp(). Removal to follow. --- Doc/library/functions.rst | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 24877ef..01849ee 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 -- cgit v0.12