mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-12-03 14:02:19 +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
|
||||
~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user