Python code coverage for Lib/idlelib/idle.py
# | count | content |
---|---|---|
1 | n/a | import os.path |
2 | n/a | import sys |
3 | n/a | |
4 | n/a | |
5 | n/a | # Enable running IDLE with idlelib in a non-standard location. |
6 | n/a | # This was once used to run development versions of IDLE. |
7 | n/a | # Because PEP 434 declared idle.py a public interface, |
8 | n/a | # removal should require deprecation. |
9 | n/a | idlelib_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) |
10 | n/a | if idlelib_dir not in sys.path: |
11 | n/a | sys.path.insert(0, idlelib_dir) |
12 | n/a | |
13 | n/a | from idlelib.pyshell import main # This is subject to change |
14 | n/a | main() |