MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / capwords

Function capwords

Lib/string.py:45–56  ·  view source on GitHub ↗

capwords(s [,sep]) -> string Split the argument into words using split, capitalize each word using capitalize, and join the capitalized words using join. If the optional second argument sep is absent or None, runs of whitespace characters are replaced by a single space and lead

(s, sep=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

capitalizeMethod · 0.80
splitMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected