Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ replace
Method
replace
Lib/test/test_bytes.py:2607–2609 ·
view source on GitHub ↗
(b, a)
Source
from the content-addressed store, hash-verified
2605
a.join([b
'1'
, b
'2'
, b
'3'
])
2606
2607
def
replace(b, a):
2608
b.wait()
2609
a.replace(b
'0'
, b
''
)
2610
2611
def
maketrans(b, a, c):
2612
b.wait()
Callers
15
test_doctest_issue4197
Method · 0.45
test_basics
Method · 0.45
_run_script_and_get_trace
Method · 0.45
test_replace_method
Method · 0.45
test_namedtuple
Method · 0.45
test_dataclass
Method · 0.45
escapestr
Function · 0.45
check_encoding
Method · 0.45
test_locale
Method · 0.45
test_underscore_literals
Method · 0.45
test_former_statements_refer_to_builtins
Method · 0.45
create_module
Method · 0.45
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected