Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ partition
Method
partition
Lib/collections/__init__.py:1593–1594 ·
view source on GitHub ↗
(self, sep)
Source
from the content-addressed store, hash-verified
1591
maketrans = str.maketrans
1592
1593
def
partition(self, sep):
1594
return
self.data.partition(sep)
1595
1596
def
replace(self, old, new, maxsplit=-1):
1597
if
isinstance(old, UserString):
Callers
15
main
Function · 0.45
parse_platforms
Method · 0.45
run
Method · 0.45
wasi_sdk
Function · 0.45
create_archive
Function · 0.45
_append_modifier
Function · 0.45
open
Method · 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
Calls
no outgoing calls
Tested by
no test coverage detected