summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1998-04-27 15:09:02 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1998-04-27 15:09:02 (GMT)
commit2d7850f9efd530d3c035511a720205b9689bb081 (patch)
treef50faff1c544fee4d3c6f530c8eee2aa1a57e5d2 /Mac
parentaa70234c6b8e56a3bc6822e45fca4255e6c0d989 (diff)
downloadcpython-2d7850f9efd530d3c035511a720205b9689bb081.zip
cpython-2d7850f9efd530d3c035511a720205b9689bb081.tar.gz
cpython-2d7850f9efd530d3c035511a720205b9689bb081.tar.bz2
Added FOUR_CHAR_CODE define
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Modules/list/listscan.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/list/listscan.py b/Mac/Modules/list/listscan.py
index d713c39..a5dd9eb 100644
--- a/Mac/Modules/list/listscan.py
+++ b/Mac/Modules/list/listscan.py
@@ -71,6 +71,10 @@ class MyScanner(Scanner):
# ([('unsigned long', '*', '*')],
# [('unsigned_long', '*', '*')]),
]
+
+ def writeinitialdefs(self):
+ self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
+
if __name__ == "__main__":
main()