Is there a limit to the length of a function name in python?

2.4k views Asked by At

Every length seems to work, as long as I conform to the rules of defining the function name. What exactly is the limit or is there even one?

1

There are 1 answers

2
David Stein On

https://docs.python.org/3/reference/lexical_analysis.html#identifiers

They are unlimited. However lines longer than 79 characters violate pep style guides.