mirror of
https://github.com/python/cpython.git
synced 2024-12-02 14:24:12 +08:00
Merge heads
This commit is contained in:
commit
72aabb6177
@ -19,8 +19,7 @@ available for Python:
|
||||
`PyGTK <http://www.pygtk.org/>`_ provides bindings for an older version
|
||||
of the library, GTK+ 2. It provides an object oriented interface that
|
||||
is slightly higher level than the C one. There are also bindings to
|
||||
`GNOME <http://www.gnome.org>`_. One well known PyGTK application is
|
||||
`WingIDE <http://wingide.com/>`_. An online `tutorial
|
||||
`GNOME <http://www.gnome.org>`_. An online `tutorial
|
||||
<http://www.pygtk.org/pygtk2tutorial/index.html>`_ is available.
|
||||
|
||||
`PyQt <http://www.riverbankcomputing.co.uk/software/pyqt/>`_
|
||||
|
@ -15,7 +15,7 @@ warnings.filterwarnings('ignore', category=UserWarning, module='jinja2')
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
if sys.version_info[:3] < (2, 4, 0):
|
||||
if sys.version_info[:3] < (2, 4, 0) or sys.version_info[:3] > (3, 0, 0):
|
||||
sys.stderr.write("""\
|
||||
Error: Sphinx needs to be executed with Python 2.4 or newer (not 3.0 though).
|
||||
(If you run this from the Makefile, you can set the PYTHON variable
|
||||
|
Loading…
Reference in New Issue
Block a user