summaryrefslogtreecommitdiff
path: root/docutils/utils/code_analyzer.py
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2019-08-26 12:09:42 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2019-08-26 12:09:42 +0000
commit0fdce7caf83f8d18ce93f6ec880c907b5ff8bede (patch)
tree77adc2102b36e923e9ea6bd53d5e6b7048f7825f /docutils/utils/code_analyzer.py
parent63b3f703f16ff0dcd0024f1e871b18aed6e9d7d5 (diff)
downloaddocutils-0fdce7caf83f8d18ce93f6ec880c907b5ff8bede.tar.gz
Drop support for Python 3.3
This doesn't involve a whole lot of changes, but references to Python 3.3 (plus some to the already removed Python 2.6) are removed and 'setup.py' is updated as necessary. Signed-off-by: Stephen Finucane <stephen@that.guru> git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8338 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/utils/code_analyzer.py')
-rw-r--r--docutils/utils/code_analyzer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docutils/utils/code_analyzer.py b/docutils/utils/code_analyzer.py
index eedf621b0..218d8dbf6 100644
--- a/docutils/utils/code_analyzer.py
+++ b/docutils/utils/code_analyzer.py
@@ -18,7 +18,7 @@ try:
from pygments.lexers import get_lexer_by_name
from pygments.formatters.html import _get_ttype_class
with_pygments = True
-except (ImportError, SyntaxError): # pygments 2.0.1 fails with Py 3.1 and 3.2
+except ImportError:
with_pygments = False
# Filter the following token types from the list of class arguments: