diff --git a/Lib/plat-mac/gensuitemodule.py b/Lib/plat-mac/gensuitemodule.py index d7206ff80dc..a5a994cd5d1 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_"