summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/drag
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-15 22:05:58 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-15 22:05:58 (GMT)
commit7ca993ed37f84491885cc2d96ae7d1a575a7a2f4 (patch)
tree80c403554e4c697ce730f22eab34e24255753262 /Mac/Modules/drag
parent87eea88b5a198234cb18980d6f3a155de176ea6e (diff)
downloadcpython-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.py4
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)