mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Fix typos in some View methods' docstrings
This commit is contained in:
parent
4dc24a005a
commit
515d17405a
@ -254,8 +254,10 @@ class View:
|
|||||||
|
|
||||||
def add_item(self, item: Item[Any]) -> Self:
|
def add_item(self, item: Item[Any]) -> Self:
|
||||||
"""Adds an item to the view.
|
"""Adds an item to the view.
|
||||||
|
|
||||||
This function returns the class instance to allow for fluent-style
|
This function returns the class instance to allow for fluent-style
|
||||||
chaining.
|
chaining.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
item: :class:`Item`
|
item: :class:`Item`
|
||||||
@ -284,6 +286,7 @@ class View:
|
|||||||
|
|
||||||
def remove_item(self, item: Item[Any]) -> Self:
|
def remove_item(self, item: Item[Any]) -> Self:
|
||||||
"""Removes an item from the view.
|
"""Removes an item from the view.
|
||||||
|
|
||||||
This function returns the class instance to allow for fluent-style
|
This function returns the class instance to allow for fluent-style
|
||||||
chaining.
|
chaining.
|
||||||
|
|
||||||
@ -303,6 +306,7 @@ class View:
|
|||||||
|
|
||||||
def clear_items(self) -> Self:
|
def clear_items(self) -> Self:
|
||||||
"""Removes all items from the view.
|
"""Removes all items from the view.
|
||||||
|
|
||||||
This function returns the class instance to allow for fluent-style
|
This function returns the class instance to allow for fluent-style
|
||||||
chaining.
|
chaining.
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user