Issue #24379: Revert the operator.subscript patch (dccc4e63aef5) pending resolution of the related refcnt leak.

This commit is contained in:
Raymond Hettinger 2015-11-02 00:39:56 -05:00
parent 0bdf9ea136
commit a1fc949b5a
4 changed files with 1 additions and 83 deletions

View file

@ -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