Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_uninitialized
Method · 0.45
test_initialization
Method · 0.45
test_uninitialized
Method · 0.45
test_uninitialized
Method · 0.45
test_uninitialized
Method · 0.45
test_uninitialized
Method · 0.45
Calls
2
loads
Method · 0.45
dumps
Method · 0.45
Tested by
no test coverage detected