Skip to content

Commit

Permalink
Update the documentation about the supported Python versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
tantale committed Feb 19, 2018
1 parent 9321ad6 commit bc39a79
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Minor release
Added
-----

- Change in :func:`deprecated.deprecated` decorator: you can give a "reason" message
- Change in :func:`deprecated.classic.deprecated` decorator: you can give a "reason" message
to help the developer choose another class, function or method.
- Add support for Universal Wheel (Python versions 2.6, 2.7, 3.3, 3.4, 3.5, 3.6 and PyPy).
- Add missing ``__doc__`` and ``__version__`` attributes to :mod:`deprecated` module.
Expand Down
2 changes: 1 addition & 1 deletion deprecated/classic.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_deprecated_msg(self, wrapped, instance):
reason=self.reason or "",
version=self.version or "")
Then, you can use your :class:`MyClassicAdapter` class like this in your source code:
Then, you can use your ``MyClassicAdapter`` class like this in your source code:
.. code-block:: python
Expand Down
4 changes: 0 additions & 4 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ API

This part of the documentation covers all the interfaces of the Deprecated Library.


Deprecated decorator
--------------------

.. automodule:: deprecated
:members:

Expand Down
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@
]

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/3/': None}
intersphinx_mapping = {'https://docs.python.org/3/': None,
'http://wrapt.readthedocs.io/en/latest/': None}

# -- Options for EPub output -------------------------------------------

Expand Down
5 changes: 4 additions & 1 deletion docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ and newer, Python 2.7 and newer, and PyPy.
Dependencies
------------

This library has no dependency (except development dependencies).
This library uses the `Wrapt`_ library as a basis to construct
function wrappers and decorator functions.

.. _Wrapt: http://wrapt.readthedocs.io/en/latest/

Development dependencies
~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit bc39a79

Please sign in to comment.