Changed code to support older Python versions
This commit is contained in:
parent
eb92d2d36f
commit
582458cdd0
5027 changed files with 794942 additions and 4 deletions
17
venv/lib/python3.11/site-packages/pygments/__main__.py
Normal file
17
venv/lib/python3.11/site-packages/pygments/__main__.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
"""
|
||||
pygments.__main__
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
Main entry point for ``python -m pygments``.
|
||||
|
||||
:copyright: Copyright 2006-2025 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue