diff options
author | Raymond Hettinger <python@rcn.com> | 2015-11-02 05:39:56 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2015-11-02 05:39:56 (GMT) |
commit | a1fc949b5ab8911a803eee691e6eea55cec43eeb (patch) | |
tree | 4bed1d2e7e139b761583c5f0ce3a07d6b3dd59d7 /Doc/library/operator.rst | |
parent | 0bdf9ea136c4acca2de0fe6ab799ab35d5b09fd2 (diff) | |
download | cpython-a1fc949b5ab8911a803eee691e6eea55cec43eeb.zip cpython-a1fc949b5ab8911a803eee691e6eea55cec43eeb.tar.gz cpython-a1fc949b5ab8911a803eee691e6eea55cec43eeb.tar.bz2 |
Issue #24379: Revert the operator.subscript patch (dccc4e63aef5) pending resolution of the related refcnt leak.
Diffstat (limited to 'Doc/library/operator.rst')
-rw-r--r-- | Doc/library/operator.rst | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst index 0695391..c01e63b 100644 --- a/Doc/library/operator.rst +++ b/Doc/library/operator.rst @@ -333,21 +333,6 @@ expect a function argument. [('orange', 1), ('banana', 2), ('apple', 3), ('pear', 5)] -.. data:: subscript - - A helper to turn subscript notation into indexing objects. This can be - used to create item access patterns ahead of time to pass them into - various subscriptable objects. - - For example: - - * ``subscript[5] == 5`` - * ``subscript[3:7:2] == slice(3, 7, 2)`` - * ``subscript[5, 8] == (5, 8)`` - - .. versionadded:: 3.6 - - .. function:: methodcaller(name[, args...]) Return a callable object that calls the method *name* on its operand. If |