usse/funda-scraper/venv/lib/python3.10/site-packages/pygments/__main__.py

18 lines
348 B
Python
Raw Normal View History

2023-02-20 22:38:24 +00:00
"""
pygments.__main__
~~~~~~~~~~~~~~~~~
Main entry point for ``python -m pygments``.
:copyright: Copyright 2006-2022 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)