doc: Remove mention about py2

This commit is contained in:
Takeshi KOMIYA
2020-02-24 12:39:57 +09:00
parent 0ae1bf6f03
commit 448937eb4d
2 changed files with 2 additions and 7 deletions

View File

@@ -340,9 +340,6 @@ inserting them into the page source under a suitable :rst:dir:`py:module`,
a decorator replaces the decorated function with another, it must copy the
original ``__doc__`` to the new function.
From Python 2.5, :func:`functools.wraps` can be used to create
well-behaved decorating functions.
Configuration
-------------

View File

@@ -23,8 +23,7 @@ Linux
Debian/Ubuntu
~~~~~~~~~~~~~
Install either ``python3-sphinx`` (Python 3) or ``python-sphinx`` (Python 2)
using :command:`apt-get`:
Install either ``python3-sphinx`` using :command:`apt-get`:
::
@@ -77,8 +76,7 @@ __ https://formulae.brew.sh/formula/sphinx-doc
MacPorts
~~~~~~~~
Install either ``python36-sphinx`` (Python 3) or ``python27-sphinx`` (Python 2)
using :command:`port`:
Install either ``python36-sphinx`` using :command:`port`:
::