Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ partition
Method
partition
Lib/collections/__init__.py:1553–1554 ·
view source on GitHub ↗
(self, sep)
Source
from the content-addressed store, hash-verified
1551
maketrans = str.maketrans
1552
1553
def
partition(self, sep):
1554
return
self.data.partition(sep)
1555
1556
def
replace(self, old, new, maxsplit=-1):
1557
if
isinstance(old, UserString):
Callers
15
create_archive
Function · 0.45
_append_modifier
Function · 0.45
_dnsname_match
Function · 0.45
_main
Function · 0.45
showsymbol
Method · 0.45
get_html_page
Function · 0.45
venv
Function · 0.45
line
Method · 0.45
_split_scope_id
Method · 0.45
_isreservedname
Function · 0.45
_proc_pax
Method · 0.45
mlsd
Method · 0.45
Calls
no outgoing calls
Tested by
14
test_wmi_query_os_version
Method · 0.36
check
Method · 0.36
test_partition
Method · 0.36
test_partition_bytearray_doesnt_share_nullstring
Method · 0.36
run_python
Method · 0.36
_make_map
Method · 0.36
run_py
Method · 0.36
test_version
Method · 0.36
test_source_line_in_disassembly
Method · 0.36
test_mode_win32
Method · 0.36
test_cyclical_repr
Method · 0.36
get_html_title
Function · 0.36