mirror of
https://github.com/python/cpython.git
synced 2024-11-26 19:34:19 +08:00
rearranged some imports
This commit is contained in:
parent
8a0232d84f
commit
2e9e71fea6
@ -1,15 +1,13 @@
|
||||
from Carbon import Qd
|
||||
from Carbon import Win
|
||||
from Carbon import QuickDraw
|
||||
from Carbon import Evt
|
||||
from Carbon import Evt, Qd, QuickDraw, Win
|
||||
import string
|
||||
from types import *
|
||||
import sys
|
||||
|
||||
WidgetsError = "WidgetsError"
|
||||
class WidgetsError(Exception): pass
|
||||
|
||||
DEBUG = 0
|
||||
|
||||
|
||||
class Widget:
|
||||
|
||||
"""Base class for all widgets."""
|
||||
|
@ -1,12 +1,7 @@
|
||||
import Wbase
|
||||
import Wkeys
|
||||
from Carbon import Scrap
|
||||
import string
|
||||
from Carbon import Evt
|
||||
from Carbon import Events
|
||||
from Carbon import Qd
|
||||
from Carbon import Win
|
||||
from Carbon import Lists
|
||||
from Carbon import Evt, Events, Lists, Qd, Scrap, Win
|
||||
|
||||
|
||||
class List(Wbase.SelectableWidget):
|
||||
|
@ -1,7 +1,6 @@
|
||||
import FrameWork
|
||||
from Carbon import Qd
|
||||
import Wbase, Wcontrols
|
||||
from Carbon import Ctl, Controls
|
||||
from Carbon import Ctl, Controls, Qd
|
||||
from types import *
|
||||
import Wapplication
|
||||
|
||||
|
@ -1,18 +1,11 @@
|
||||
from Carbon import Qd
|
||||
from Carbon import Win
|
||||
from Carbon import Evt
|
||||
from Carbon import Fm
|
||||
from Carbon import Dlg, Evt, Events, Fm
|
||||
from Carbon import Menu, Qd, Win, Windows
|
||||
import FrameWork
|
||||
from Carbon import Windows
|
||||
from Carbon import Events
|
||||
import Wbase
|
||||
from Carbon import Dlg
|
||||
import MacOS
|
||||
from Carbon import Menu
|
||||
import struct
|
||||
import traceback
|
||||
|
||||
from types import *
|
||||
from types import InstanceType, StringType
|
||||
|
||||
|
||||
class Window(FrameWork.Window, Wbase.SelectableWidget):
|
||||
|
Loading…
Reference in New Issue
Block a user