Staging
v0.5.1
https://github.com/python/cpython
Revision 4bb4cde1777267c92c1bfc0f537cee08102d66a4 authored by Miss Islington (bot) on 24 May 2020, 14:58:25 UTC, committed by GitHub on 24 May 2020, 14:58:25 UTC
(cherry picked from commit 3436f5f899f272d7164add072beb18eebd46d777)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
1 parent ebf6505
Raw File
Tip revision: 4bb4cde1777267c92c1bfc0f537cee08102d66a4 authored by Miss Islington (bot) on 24 May 2020, 14:58:25 UTC
bpo-40443: Remove unused imports in the zoneinfo (GH-20354)
Tip revision: 4bb4cde
__main__.py
import sys

try:
    import layout
except ImportError:
    # Failed to import our package, which likely means we were started directly
    # Add the additional search path needed to locate our module.
    from pathlib import Path

    sys.path.insert(0, str(Path(__file__).resolve().parent.parent))

from layout.main import main

sys.exit(int(main() or 0))
back to top