Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ swapcase
Method
swapcase
Lib/collections/__init__.py:1597–1598 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1595
return
self.__class__(self.data.strip(chars))
1596
1597
def
swapcase(self):
1598
return
self.__class__(self.data.swapcase())
1599
1600
def
title(self):
1601
return
self.__class__(self.data.title())
Callers
5
test_intern
Method · 0.45
test_swapcase
Method · 0.45
test_issue18183
Method · 0.45
_test_swapcase
Method · 0.45
test_compresscopy
Method · 0.45
Calls
1
__class__
Method · 0.45
Tested by
5
test_intern
Method · 0.36
test_swapcase
Method · 0.36
test_issue18183
Method · 0.36
_test_swapcase
Method · 0.36
test_compresscopy
Method · 0.36