Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ swapcase
Method
swapcase
Lib/test/test_bytes.py:2767–2770 ·
view source on GitHub ↗
(b, a)
Source
from the content-addressed store, hash-verified
2765
assert not c or c[-1] not in (0xdd, 0xcd)
2766
2767
def
swapcase(b, a):
2768
b.wait()
2769
c = a.swapcase()
2770
assert not c or c[-1] not in (0xdd, 0xcd)
2771
2772
def
title(b, a):
2773
b.wait()
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
wait
Method · 0.45
Tested by
no test coverage detected