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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36d49a907fdc1dd34ee30b3b407ea9d92e35f4f9;p=python The identify() description didn't match the code. Fixed. --- diff --git a/Lib/plat-mac/gensuitemodule.py b/Lib/plat-mac/gensuitemodule.py index d7206ff80d..a5a994cd5d 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_"