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

Calls 1

__class__Method · 0.45

Tested by 5

test_internMethod · 0.36
test_swapcaseMethod · 0.36
test_issue18183Method · 0.36
_test_swapcaseMethod · 0.36
test_compresscopyMethod · 0.36