diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-15 22:05:58 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-15 22:05:58 (GMT) |
commit | 7ca993ed37f84491885cc2d96ae7d1a575a7a2f4 (patch) | |
tree | 80c403554e4c697ce730f22eab34e24255753262 /Mac/Modules/drag | |
parent | 87eea88b5a198234cb18980d6f3a155de176ea6e (diff) | |
download | cpython-7ca993ed37f84491885cc2d96ae7d1a575a7a2f4.zip cpython-7ca993ed37f84491885cc2d96ae7d1a575a7a2f4.tar.gz cpython-7ca993ed37f84491885cc2d96ae7d1a575a7a2f4.tar.bz2 |
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".
Diffstat (limited to 'Mac/Modules/drag')
-rw-r--r-- | Mac/Modules/drag/dragscan.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/drag/dragscan.py b/Mac/Modules/drag/dragscan.py index e305e04..158cfff 100644 --- a/Mac/Modules/drag/dragscan.py +++ b/Mac/Modules/drag/dragscan.py @@ -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) |