-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7171 from bluetech/code-import-cycles
code: fix import cycles between code.py and source.py
- Loading branch information
Showing
7 changed files
with
81 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
""" python inspection/code generation API """ | ||
from .code import Code # noqa | ||
from .code import ExceptionInfo # noqa | ||
from .code import filter_traceback # noqa | ||
from .code import Frame # noqa | ||
from .code import getrawcode # noqa | ||
from .code import Traceback # noqa | ||
from .source import compile_ as compile # noqa | ||
from .source import getfslineno # noqa | ||
from .source import Source # noqa | ||
"""Python inspection/code generation API.""" | ||
from .code import Code | ||
from .code import ExceptionInfo | ||
from .code import filter_traceback | ||
from .code import Frame | ||
from .code import getfslineno | ||
from .code import getrawcode | ||
from .code import Traceback | ||
from .source import compile_ as compile | ||
from .source import Source | ||
|
||
__all__ = [ | ||
"Code", | ||
"ExceptionInfo", | ||
"filter_traceback", | ||
"Frame", | ||
"getfslineno", | ||
"getrawcode", | ||
"Traceback", | ||
"compile", | ||
"Source", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters