MCPcopy Index your code
hub / github.com/RustPython/RustPython / Rev

Class Rev

Lib/test/test_collections.py:1045–1047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

test_ReversibleMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_ReversibleMethod · 0.68