Home
last modified time | relevance | path

Searched refs:__reversed__ (Results 1 – 25 of 25) sorted by relevance

/third_party/python/Doc/library/
Dcollections.abc.rst77 ``__contains__``, ``__iter__``, and ``__reversed__`` because the
127 :class:`Reversible` [1]_ :class:`Iterable` ``__reversed__``
135 … :class:`Reversible`, ``__getitem__``, ``__contains__``, ``__iter__``, ``__reversed__``,
242 ABC for iterable classes that also provide the :meth:`__reversed__`
263 :meth:`__iter__`, :meth:`__reversed__` and :meth:`index`, make
Dunittest.mock.rst2018 ``__contains__``, ``__len__``, ``__iter__``, ``__reversed__``
2165 * ``__reversed__`` and ``__missing__``
Dcollections.rst1101 * Until Python 3.8, :class:`dict` lacked a :meth:`__reversed__` method.
Dfunctions.rst1510 a :meth:`__reversed__` method or supports the sequence protocol (the
/third_party/python/Lib/test/
Dtest_enumerate.py225 r = f.__reversed__ = object()
251 __reversed__ = None variable in TestReversed.test_objmethods.Blocked
Dtest_collections.py1005 def __reversed__(self): member in TestOneTrickPonyABCs.test_Reversible.R
1012 def __reversed__(self): return reversed([]) member in TestOneTrickPonyABCs.test_Reversible.RevNoIter
1022 def __reversed__(self): return reversed([]) member in TestOneTrickPonyABCs.test_Reversible.Rev
1026 __reversed__ = None variable in TestOneTrickPonyABCs.test_Reversible.RevRevBlocked
Dtest_weakref.py455 def __reversed__(self): member in ReferencesTestCase.test_proxy_reversed.MyObj
/third_party/python/Lib/
D_collections_abc.py311 def __reversed__(self): member in Reversible
845 __reversed__ = None variable in Mapping
1047 def __reversed__(self): member in Sequence
Denum.py464 def __reversed__(cls): member in EnumMeta
/third_party/python/Lib/collections/
D__init__.py60 def __reversed__(self): member in _OrderedDictKeysView
65 def __reversed__(self): member in _OrderedDictItemsView
71 def __reversed__(self): member in _OrderedDictValuesView
142 def __reversed__(self): member in OrderedDict
/third_party/python/Objects/
Denumobject.c290 _Py_IDENTIFIER(__reversed__); in reversed_new_impl()
Dweakrefobject.c674 WRAP_METHOD(proxy_reversed, __reversed__)
Ddescrobject.c1126 _Py_IDENTIFIER(__reversed__); in mappingproxy_reversed()
/third_party/node/tools/inspector_protocol/jinja2/
Dutils.py474 def __reversed__(self): member in LRUCache
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dcommon.py536 def __reversed__(self): member in OrderedSet
/third_party/node/tools/gyp/pylib/gyp/
Dcommon.py552 def __reversed__(self): member in OrderedSet
/third_party/jinja2/
Dutils.py530 def __reversed__(self): member in LRUCache
/third_party/skia/third_party/externals/jinja2/
Dutils.py530 def __reversed__(self): member in LRUCache
/third_party/libnl/python/netlink/
Dcore.py501 def __reversed__(self): member in Cache
/third_party/python/Modules/_decimal/tests/
Ddeccheck.py339 __mul__ = __reversed__ = __rmul__ = __setattr__ = __setitem__ = unsupported
/third_party/python/Doc/faq/
Dgeneral.rst417 '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__',
/third_party/python/Doc/reference/
Ddatamodel.rst2495 .. method:: object.__reversed__(self)
2501 If the :meth:`__reversed__` method is not provided, the :func:`reversed`
2504 only provide :meth:`__reversed__` if they can provide an implementation
3025 :meth:`~object.__reversed__`, and :meth:`~object.__contains__` methods have
/third_party/python/Tools/c-analyzer/
DTODO364 Objects/enumobject.c:reversed_new_impl():PyId___reversed__ _Py_IDENTIFIER(__reversed__)
/third_party/python/Doc/
Dglossary.rst1093 :meth:`__reversed__`. Types that implement this expanded
/third_party/python/Doc/whatsnew/
D3.6.rst928 iterable classes that also provide the :meth:`__reversed__` method.