diff PC/python33gen.py @ 77653:3f14119e4af7

Issue #11626: Add _SizeT functions to stable ABI.
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 24 Jun 2012 00:00:30 +0200
parents b39270c6b8d1
children
line wrap: on
line diff
--- a/PC/python33gen.py	Sat Jun 23 23:21:48 2012 +0200
+++ b/PC/python33gen.py	Sun Jun 24 00:00:30 2012 +0200
@@ -7,8 +7,10 @@
 out.write('EXPORTS\n')
 
 inp = open("python3.def")
-inp.readline()
 line = inp.readline()
+while line.strip().startswith(';'):
+    line = inp.readline()
+line = inp.readline() # LIBRARY
 assert line.strip()=='EXPORTS'
 
 for line in inp: