ยปCore Development>Code coverage>Lib/idlelib/idle.py

Python code coverage for Lib/idlelib/idle.py

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