summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-02-09 15:56:19 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-02-09 15:56:19 (GMT)
commitdef0d8da5a75dddad61071de93ee72e5d4d57a7b (patch)
tree57e0c96dd5c8b0bb1c7649c6d2a503ba389fca44 /Mac
parentcd90c20b6268415ac136b927df627c8fccafbc97 (diff)
downloadcpython-def0d8da5a75dddad61071de93ee72e5d4d57a7b.zip
cpython-def0d8da5a75dddad61071de93ee72e5d4d57a7b.tar.gz
cpython-def0d8da5a75dddad61071de93ee72e5d4d57a7b.tar.bz2
Get rid of from ... import *
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Lib/Audio_mac.py2
-rw-r--r--Mac/Tools/IDE/Splash.py10
2 files changed, 6 insertions, 6 deletions
diff --git a/Mac/Lib/Audio_mac.py b/Mac/Lib/Audio_mac.py
index d59119d..14f825e 100644
--- a/Mac/Lib/Audio_mac.py
+++ b/Mac/Lib/Audio_mac.py
@@ -40,7 +40,7 @@ class Play_Audio_mac:
def writeframes(self, data):
import time
- from Sound import *
+ from Sound import bufferCmd, callBackCmd, extSH
import struct
import MacOS
if not self._chan:
diff --git a/Mac/Tools/IDE/Splash.py b/Mac/Tools/IDE/Splash.py
index b71e0ca..0ce879a 100644
--- a/Mac/Tools/IDE/Splash.py
+++ b/Mac/Tools/IDE/Splash.py
@@ -123,7 +123,7 @@ UpdateSplash(1)
def wait():
import Evt
- from Events import *
+ import Events
global splash
try:
splash
@@ -133,16 +133,16 @@ def wait():
time = Evt.TickCount()
whattext = 0
while _keepsplashscreenopen:
- ok, event = Evt.EventAvail(highLevelEventMask)
+ ok, event = Evt.EventAvail(Events.highLevelEventMask)
if ok:
# got apple event, back to mainloop
break
- ok, event = Evt.EventAvail(mDownMask | keyDownMask | updateMask)
+ ok, event = Evt.EventAvail(Events.mDownMask | Events.keyDownMask | Events.updateMask)
if ok:
- ok, event = Evt.WaitNextEvent(mDownMask | keyDownMask | updateMask, 30)
+ ok, event = Evt.WaitNextEvent(Events.mDownMask | Events.keyDownMask | Events.updateMask, 30)
if ok:
(what, message, when, where, modifiers) = event
- if what == updateEvt:
+ if what == Events.updateEvt:
if Win.WhichWindow(message) == splash:
UpdateSplash(1, whattext)
else: