mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 23:15:48 +00:00
[commands] Fix documentation not being properly formatted
This commit is contained in:
parent
55c5be78cf
commit
66155faf00
@ -66,12 +66,13 @@ def _gen_property(name: str) -> property:
|
||||
return property(
|
||||
attrgetter(attr),
|
||||
lambda self, value: setattr(self, attr, value),
|
||||
doc="The parameter's {name}.",
|
||||
doc=f"The parameter's {name}.",
|
||||
)
|
||||
|
||||
|
||||
class Parameter(inspect.Parameter):
|
||||
r"""A class that stores information on a :class:`Command`\'s parameter.
|
||||
|
||||
This is a subclass of :class:`inspect.Parameter`.
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user