MCPcopy Index your code
hub / github.com/python/cpython / Rev

Class Rev

Lib/test/test_collections.py:1046–1048  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1044 self.assertIsInstance(RevPlusIter(), Reversible)
1045 # Check None blocking
1046 class Rev:
1047 def __iter__(self): return iter([])
1048 def __reversed__(self): return reversed([])
1049 class RevItBlocked(Rev):
1050 __iter__ = None
1051 class RevRevBlocked(Rev):

Callers 1

test_ReversibleMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_ReversibleMethod · 0.68