summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-04-16 13:10:53 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-04-16 13:10:53 (GMT)
commit36d49a907fdc1dd34ee30b3b407ea9d92e35f4f9 (patch)
treeb5385e6b4e4b2082f57df2ef81266cbaf3e1dcc9
parent36b51983812812aba9af7a54aebf18a2770019a7 (diff)
downloadcpython-36d49a907fdc1dd34ee30b3b407ea9d92e35f4f9.zip
cpython-36d49a907fdc1dd34ee30b3b407ea9d92e35f4f9.tar.gz
cpython-36d49a907fdc1dd34ee30b3b407ea9d92e35f4f9.tar.bz2
The identify() description didn't match the code. Fixed.
-rw-r--r--Lib/plat-mac/gensuitemodule.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/gensuitemodule.py b/Lib/plat-mac/gensuitemodule.py
index d7206ff..a5a994c 100644
--- a/Lib/plat-mac/gensuitemodule.py
+++ b/Lib/plat-mac/gensuitemodule.py
@@ -1177,7 +1177,7 @@ def identify(str):
"""Turn any string into an identifier:
- replace space by _
- 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:
return "empty_ae_name_"