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

Class ReentrantRawIO

Lib/test/test_io/test_textio.py:1550–1557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1548 wrapper = None
1549 detached = False
1550 class ReentrantRawIO(self.RawIOBase):
1551 @property
1552 def closed(self):
1553 nonlocal detached
1554 if wrapper is not None and not detached:
1555 detached = True
1556 wrapper.detach()
1557 return False
1558
1559 raw = ReentrantRawIO()
1560 wrapper = self.TextIOWrapper(raw)

Callers 1

test_issue142594Method · 0.85

Calls

no outgoing calls

Tested by 1

test_issue142594Method · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…