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

Method __new__

Lib/test/test_io/test_memoryio.py:975–976  ·  view source on GitHub ↗
(cls, *args, **kwargs)

Source from the content-addressed store, hash-verified

973
974 class ioclass(io.StringIO):
975 def __new__(cls, *args, **kwargs):
976 return pickle.loads(pickle.dumps(io.StringIO(*args, **kwargs)))
977 def __init__(self, *args, **kwargs):
978 pass
979

Callers 6

test_uninitializedMethod · 0.45
test_initializationMethod · 0.45
test_uninitializedMethod · 0.45
test_uninitializedMethod · 0.45
test_uninitializedMethod · 0.45
test_uninitializedMethod · 0.45

Calls 2

loadsMethod · 0.45
dumpsMethod · 0.45

Tested by

no test coverage detected