Fix small documentation issues
@@ -14,7 +14,6 @@ class DictSerializerMixin(object):
The purpose of this mixin is to be subclassed.
.. note::
-
On subclass, it:
-- From kwargs (received from the Discord API response), add it to the `_json` attribute
such that it can be reused by other libraries/extensions
@@ -22,7 +21,6 @@ class DictSerializerMixin(object):
-- Dynamically sets attributes not given to kwargs but slotted to None, signifying that it doesn't exist.
.. warning::
-
This does NOT convert them to its own data types, i.e. timestamps, or User within Member. This is left by
the object that's using the mixin.
"""
@@ -207,7 +205,8 @@ class Format:
:type format: str
:param \**kwargs: Multiple key-word arguments to use, where key=value is format=value.
:type \**kwargs: dict
- :return: str
+ :return: The formatted string.
+ :rtype: str
"""
new: str = f"" # noqa: F541
for kwarg in kwargs:
