We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
typing
1 parent 0286c68 commit 20b3da5Copy full SHA for 20b3da5
CHANGES
@@ -57,6 +57,7 @@ Bugs fixed
57
* #2555: Fix crash on any-references with unicode.
58
* #2517: wrong bookmark encoding in PDF if using LuaLaTeX
59
* #2521: generated Makefile causes BSD make crashed if sphinx-build not found
60
+* #2470: ``typing`` backport package causes autodoc errors with python 2.7
61
62
63
Release 1.4.1 (released Apr 12, 2016)
sphinx/ext/autodoc.py
@@ -35,7 +35,10 @@
35
from sphinx.util.docstrings import prepare_docstring
36
37
try:
38
- import typing
+ if sys.version_info >= (3,):
39
+ import typing
40
+ else:
41
+ typing = None
42
except ImportError:
43
typing = None
44
0 commit comments