Skip to content

Commit

Permalink
Fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
boukeversteegh committed Jun 11, 2020
1 parent 3ca75da commit 83e13aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions betterproto/casing.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ def camel_case(value: str):
"""
Capitalize all words except first and remove symbols.
"""
return capitalize_first(pascal_case(value))
return lowercase_first(pascal_case(value))


def capitalize_first(value: str):
def lowercase_first(value: str):
return value[0:1].lower() + value[1:]

0 comments on commit 83e13aa

Please sign in to comment.