MCPcopy Index your code
hub / github.com/python/cpython / capitalize

Method capitalize

Lib/test/test_bytes.py:2737–2740  ·  view source on GitHub ↗
(b, a)

Source from the content-addressed store, hash-verified

2735 repr(a)
2736
2737 def capitalize(b, a):
2738 b.wait()
2739 c = a.capitalize()
2740 assert not c or c[0] not in (0xdd, 0xcd)
2741
2742 def center(b, a):
2743 b.wait()

Callers 7

test_capitalizeMethod · 0.45
test_issue18183Method · 0.45
_test_capitalizeMethod · 0.45
test_caseinsensitiveMethod · 0.45

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected