7.2.8.3.1. capitalizeΒΆ

Token.capitalize() → str

Return a capitalized version of S, i.e. make the first character have upper case and the rest lower case.