Commit 36d49a90 authored by Jack Jansen's avatar Jack Jansen

The identify() description didn't match the code. Fixed.

parent 36b51983
...@@ -1177,7 +1177,7 @@ def identify(str): ...@@ -1177,7 +1177,7 @@ def identify(str):
"""Turn any string into an identifier: """Turn any string into an identifier:
- replace space by _ - replace space by _
- replace other illegal chars by _xx_ (hex code) - replace other illegal chars by _xx_ (hex code)
- prepend _ if the result is a python keyword - append _ if the result is a python keyword
""" """
if not str: if not str:
return "empty_ae_name_" return "empty_ae_name_"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment