mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 02:08:25 +00:00
Documentation fixes to quiet Sphinx warnings.
This commit is contained in:
@ -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
|
||||
~~~~~~~
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user