Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
57dc038f
Commit
57dc038f
authored
Feb 09, 2001
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of from ... import *
parent
01bd6348
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Mac/Lib/Audio_mac.py
Mac/Lib/Audio_mac.py
+1
-1
Mac/Tools/IDE/Splash.py
Mac/Tools/IDE/Splash.py
+5
-5
No files found.
Mac/Lib/Audio_mac.py
View file @
57dc038f
...
...
@@ -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
:
...
...
Mac/Tools/IDE/Splash.py
View file @
57dc038f
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment