aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Pygments/py2/pygments/__main__.py
blob: 6a0376081aa8a628dfe14e9fd22031ad5fca43b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- coding: utf-8 -*- 
""" 
    pygments.__main__ 
    ~~~~~~~~~~~~~~~~~ 
 
    Main entry point for ``python -m pygments``. 
 
    :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. 
    :license: BSD, see LICENSE for details. 
""" 
 
import sys 
import pygments.cmdline 
 
try: 
    sys.exit(pygments.cmdline.main(sys.argv)) 
except KeyboardInterrupt: 
    sys.exit(1)