MCPcopy 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_internMethod · 0.45
test_swapcaseMethod · 0.45
test_issue18183Method · 0.45
_test_swapcaseMethod · 0.45
test_compresscopyMethod · 0.45

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected