Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ NUL
Class
NUL
Lib/test/test_csv.py:1534–1537 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1532
1533
1534
class
NUL:
1535
def
write(s, *args):
1536
pass
1537
writelines = write
1538
1539
@unittest.skipUnless(hasattr(sys,
"gettotalrefcount"
),
1540
'requires sys.gettotalrefcount()'
)
Callers
2
test_create_write
Method · 0.85
test_write
Method · 0.85
Calls
no outgoing calls
Tested by
2
test_create_write
Method · 0.68
test_write
Method · 0.68