Documentation fixes to quiet Sphinx warnings.

This commit is contained in:
Rapptz
2016-01-07 00:21:00 -05:00
parent 2fd63fc3dd
commit e88bc28236
4 changed files with 8 additions and 7 deletions

View File

@ -442,12 +442,13 @@ Some classes are just there to be data containers, this lists them.
.. warning::
Nearly all data classes here have `__slots__` defined which means that it is
Nearly all data classes here have ``__slots__`` defined which means that it is
impossible to have dynamic attributes to the data classes. The only exception
to this rule is :class:`Object` which was designed with dynamic attributes in
mind.
More information about `__slots__` can be found `in the official python documentation <https://docs.python.org/3/reference/datamodel.html#slots>`.
More information about ``__slots__`` can be found
`in the official python documentation <https://docs.python.org/3/reference/datamodel.html#slots>`_.
Object
~~~~~~~

View File

@ -237,7 +237,7 @@ The following parameters are now exclusively keyword arguments:
- ``allow``
- ``deny``
In the documentation you can tell if a function parameter is a forced keyword argument if it is after ``*, ``
In the documentation you can tell if a function parameter is a forced keyword argument if it is after ``\*,``
in the function signature.
.. _migrating-running: