Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ rstrip
Method
rstrip
Lib/collections/__init__.py:1619–1620 ·
view source on GitHub ↗
(self, chars=None)
Source
from the content-addressed store, hash-verified
1617
return
self.data.rpartition(sep)
1618
1619
def
rstrip(self, chars=None):
1620
return
self.__class__(self.data.rstrip(chars))
1621
1622
def
split(self, sep=None, maxsplit=-1):
1623
return
self.data.split(sep, maxsplit)
Callers
15
inject_trace
Function · 0.45
parse_platforms
Method · 0.45
_group
Function · 0.45
extend_path
Function · 0.45
formatmonth
Method · 0.45
formatyear
Method · 0.45
formatmonth
Method · 0.45
formatyear
Method · 0.45
_ipaddress_match
Function · 0.45
getdoc
Function · 0.45
splitdoc
Function · 0.45
getdocloc
Method · 0.45
Calls
1
__class__
Method · 0.45
Tested by
3
_comment_line
Function · 0.36
report_failure
Method · 0.36
test_write
Method · 0.36