Skip to content

Commit

Permalink
Formatting...
Browse files Browse the repository at this point in the history
  • Loading branch information
Esmeray6 committed Sep 9, 2021
1 parent cb04f49 commit c26fed5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions topgg/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Colors = Dict[str, int]
Colours = Colors


def camel_to_snake(string: str) -> str:
return "".join(["_" + c.lower() if c.isupper() else c for c in string]).lstrip("_")

Expand Down

0 comments on commit c26fed5

Please sign in to comment.