summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-04-16 14:36:46 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-04-16 14:36:46 (GMT)
commita2408e9d6a20995d750c955621a7506b71da5434 (patch)
treeb69306e43a1a47d5ba288eb7577b2f7c2e0d74f6
parent7bfc875270587bd6819702ab51d0a6a41aaec0cb (diff)
downloadcpython-a2408e9d6a20995d750c955621a7506b71da5434.zip
cpython-a2408e9d6a20995d750c955621a7506b71da5434.tar.gz
cpython-a2408e9d6a20995d750c955621a7506b71da5434.tar.bz2
Fixed code generated for an argument of type ****
-rw-r--r--Mac/scripts/gensuitemodule.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/scripts/gensuitemodule.py b/Mac/scripts/gensuitemodule.py
index 2718e33..97a08e6 100644
--- a/Mac/scripts/gensuitemodule.py
+++ b/Mac/scripts/gensuitemodule.py
@@ -331,7 +331,8 @@ def compileevent(fp, event):
if is_enum(a[2]):
kname = a[1]
ename = a[2][0]
- fp.write("\t\taetools.enumsubst(_arguments, %s, _Enum_%s)\n" %
+ if ename <> '****':
+ fp.write("\t\taetools.enumsubst(_arguments, %s, _Enum_%s)\n" %
(`kname`, ename))
fp.write("\n")
#