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

Method closed

Lib/test/test_io.py:4219–4224  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4217 class ReentrantRawIO(self.RawIOBase):
4218 @property
4219 def closed(self):
4220 nonlocal detached
4221 if wrapper is not None and not detached:
4222 detached = True
4223 wrapper.detach()
4224 return False
4225
4226 raw = ReentrantRawIO()
4227 wrapper = self.TextIOWrapper(raw)

Callers

nothing calls this directly

Calls 1

detachMethod · 0.45

Tested by

no test coverage detected