MCPcopy Index your code
hub / github.com/RustPython/RustPython / capitalize

Method capitalize

Lib/collections/__init__.py:1452–1453  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1450
1451 # the following methods are defined in alphabetical order:
1452 def capitalize(self):
1453 return self.__class__(self.data.capitalize())
1454
1455 def casefold(self):
1456 return self.__class__(self.data.casefold())

Callers 10

assertSequenceEqualMethod · 0.45
test_capitalizeMethod · 0.45
test_issue18183Method · 0.45
_test_capitalizeMethod · 0.45
add_headerMethod · 0.45
do_request_Method · 0.45

Calls 1

__class__Method · 0.45

Tested by 6

test_capitalizeMethod · 0.36
test_issue18183Method · 0.36
_test_capitalizeMethod · 0.36