Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
assertSequenceEqual
Method · 0.45
test_capitalize
Method · 0.45
test_issue18183
Method · 0.45
test_basic_inheritance
Method · 0.45
_test_capitalize
Method · 0.45
install_tests_in_module_dict
Function · 0.45
test_set_isolation_level
Method · 0.45
add_header
Method · 0.45
add_unredirected_header
Method · 0.45
do_request_
Method · 0.45
Calls
1
__class__
Method · 0.45
Tested by
6
test_capitalize
Method · 0.36
test_issue18183
Method · 0.36
test_basic_inheritance
Method · 0.36
_test_capitalize
Method · 0.36
install_tests_in_module_dict
Function · 0.36
test_set_isolation_level
Method · 0.36