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

Method __init__

Lib/test/test_io/test_textio.py:1393–1395  ·  view source on GitHub ↗
(self, raw, tag)

Source from the content-addressed store, hash-verified

1391 global MyTextIO
1392 class MyTextIO(self.TextIOWrapper):
1393 def __init__(self, raw, tag):
1394 super().__init__(raw)
1395 self.tag = tag
1396 def __getstate__(self):
1397 return self.tag, self.buffer.getvalue()
1398 def __setstate__(slf, state):

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected