Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ resize
Method
resize
Lib/test/test_bytes.py:2787–2789 ·
view source on GitHub ↗
(b, a)
Source
from the content-addressed store, hash-verified
2785
assert not c or c[-1] not in (0xdd, 0xcd)
2786
2787
def
resize(b, a):
# MODIFIES!
2788
b.wait()
2789
a.resize(10)
2790
2791
def
take_bytes(b, a):
# MODIFIES!
2792
b.wait()
Callers
15
test_resize
Method · 0.45
test_take_bytes
Method · 0.45
test_resize_forbidden
Method · 0.45
resize_stress
Method · 0.45
test_resize
Method · 0.45
test_issue13051
Method · 0.45
test_resize
Method · 0.45
test_access_parameter
Method · 0.45
test_trackfd_parameter
Method · 0.45
test_trackfd_neg1
Method · 0.45
test_offset
Method · 0.45
test_crasher_on_windows
Method · 0.45
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected