mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Documentation fixes to quiet Sphinx warnings.
This commit is contained in:
1 parent
2fd63fc3dd
commit
e88bc28236
4 files changed
+8
-7
No files matched your search
+3
-2
@@ -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