mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fixed the bugs in the constant definitions, and in the code to test
them. The FutureWarnings are still there, until a way has been found to say "I know what I'm doing here when I say 0xff000000".
This commit is contained in:
parent
87eea88b5a
commit
7ca993ed37
4 changed files with 14 additions and 10 deletions
|
@ -45,8 +45,8 @@ class MyScanner(Scanner):
|
|||
|
||||
def writeinitialdefs(self):
|
||||
self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
|
||||
self.defsfile.write("from TextEdit import *\n")
|
||||
self.defsfile.write("from QuickDraw import *\n")
|
||||
self.defsfile.write("from Carbon.TextEdit import *\n")
|
||||
self.defsfile.write("from Carbon.QuickDraw import *\n")
|
||||
self.defsfile.write("\n")
|
||||
# Defines unparseable in Drag.h
|
||||
self.defsfile.write(MISSING_DEFINES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue