summaryrefslogtreecommitdiff
path: root/pygments/__init__.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2020-02-29 15:45:08 +0100
committerGitHub <noreply@github.com>2020-02-29 15:45:08 +0100
commit35544e2fc6eed0ce4a27ec7285aac71ff0ddc473 (patch)
tree4390507bf0d4d5a4596cfc57c575da12f9da40f9 /pygments/__init__.py
parent14fc057d300102d88a07eda5558f238d49dd23f6 (diff)
downloadpygments-git-35544e2fc6eed0ce4a27ec7285aac71ff0ddc473.tar.gz
Remove Python 2 compatibility (#1348)
* Remove Python 2 compatibility * remove 2/3 shims in pygments.util * update setup.py metadata * Remove unneeded object inheritance. * Remove unneeded future imports.
Diffstat (limited to 'pygments/__init__.py')
-rw-r--r--pygments/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pygments/__init__.py b/pygments/__init__.py
index 89efc350..e253503e 100644
--- a/pygments/__init__.py
+++ b/pygments/__init__.py
@@ -26,8 +26,7 @@
:license: BSD, see LICENSE for details.
"""
import sys
-
-from pygments.util import StringIO, BytesIO
+from io import StringIO, BytesIO
__version__ = '2.5.2'
__docformat__ = 'restructuredtext'