From: Jack Jansen Date: Wed, 16 Apr 2003 13:10:53 +0000 (+0000) Subject: The identify() description didn't match the code. Fixed. X-Git-Tag: v2.3c1~1170 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36d49a907fdc1dd34ee30b3b407ea9d92e35f4f9;p=thirdparty%2FPython%2Fcpython.git The identify() description didn't match the code. Fixed. --- diff --git a/Lib/plat-mac/gensuitemodule.py b/Lib/plat-mac/gensuitemodule.py index d7206ff80dc2..a5a994cd5d1c 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_"