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.
1 parent 1d23529 commit f758705Copy full SHA for f758705
setup.py
@@ -24,12 +24,9 @@
24
try:
25
import sphinx
26
from sphinx.setup_command import BuildDoc
27
- if sphinx.__version__ >= '1.1.3':
28
- # Sphinx 1.1.2 is buggy and building bpython with that version fails.
29
- # See #241.
30
- using_sphinx = False
31
- else:
32
- using_sphinx = True
+ # Sphinx 1.1.2 is buggy and building bpython with that version fails.
+ # See #241.
+ using_sphinx = sphinx.__version__ >= '1.1.3'
33
except ImportError:
34
using_sphinx = False
35
0 commit comments