Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ extend
Method
extend
Lib/test/test_bytes.py:2558–2561 ·
view source on GitHub ↗
(b, a)
Source
from the content-addressed store, hash-verified
2556
a.insert(0, 0)
2557
2558
def
extend(b, a):
# MODIFIES!
2559
c = bytearray(b
'0'
* 0x400000)
2560
b.wait()
2561
a.extend(c)
2562
2563
def
remove(b, a):
# MODIFIES!
2564
c = ord(
'0'
)
Callers
15
copy_replace
Method · 0.45
_format_mapdict
Function · 0.45
test_incremental_errors
Method · 0.45
_connected_pair
Method · 0.45
python_cmd
Function · 0.45
list_cases
Function · 0.45
run_tests
Function · 0.45
run
Method · 0.45
test_unicode_file_functions.py
File · 0.45
check_error
Method · 0.45
open_fds
Method · 0.45
next_set_method
Method · 0.45
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected