This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
string.capitalize #140
Closed
Description
According to the specification and the implementation, string.capitalize
modifies the first letter of every word. Therefore "aBc dEf".capitalize()
returns "ABc DEf"
.
This is a bug:
- This is inconsistent with both Bazel and Python, because they return
"Abc def"
. string.capitalize
seems redundant with behave asstring.title
.
Metadata
Metadata
Assignees
Labels
No labels