diff options
| author | Guido van Rossum <guido@python.org> | 2006-04-21 15:44:20 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2006-04-21 15:44:20 (GMT) |
| commit | 6da48561cb7844526164d3a656c6d16afe904e3d (patch) | |
| tree | 76b85ad3717da33ef7c6246807204b902a3ac920 /Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py | |
| parent | c350d1a1106658d968badf2c35f5b10ddaa59a3e (diff) | |
| download | cpython-6da48561cb7844526164d3a656c6d16afe904e3d.zip cpython-6da48561cb7844526164d3a656c6d16afe904e3d.tar.gz cpython-6da48561cb7844526164d3a656c6d16afe904e3d.tar.bz2 | |
Fix test_scriptpackage with pure will power.
I really don't know why I bother; these are all generated files.
But I don't recall how to regenerate them nor how to fix the generator.
The hardest part was fixing two mutual recursive imports;
somehow changing "import foo" into "from . import foo" where
foo and bar import each other AND both are imported from __init__.py
caused things to break. Bah.
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py')
| -rw-r--r-- | Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py b/Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py index 47b75f2..d400409 100644 --- a/Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py +++ b/Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py @@ -3,9 +3,9 @@ Package generated from /Applications/Utilities/Terminal.app """ import aetools Error = aetools.Error -import Standard_Suite -import Text_Suite -import Terminal_Suite +from . import Standard_Suite +from . import Text_Suite +from . import Terminal_Suite _code_to_module = { @@ -22,9 +22,9 @@ _code_to_fullname = { 'trmx' : ('Terminal.Terminal_Suite', 'Terminal_Suite'), } -from Standard_Suite import * -from Text_Suite import * -from Terminal_Suite import * +from Terminal.Standard_Suite import * +from Terminal.Text_Suite import * +from Terminal.Terminal_Suite import * def getbaseclasses(v): if not getattr(v, '_propdict', None): |
