Skip to content
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
Closed
@laurentlb

Description

@laurentlb

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 as string.title.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions