mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 23:15:48 +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:
|
||||
"""Adds an item to the view.
|
||||
|
||||
This function returns the class instance to allow for fluent-style
|
||||
chaining.
|
||||
|
||||
Parameters
|
||||
-----------
|
||||
item: :class:`Item`
|
||||
@ -284,6 +286,7 @@ class View:
|
||||
|
||||
def remove_item(self, item: Item[Any]) -> Self:
|
||||
"""Removes an item from the view.
|
||||
|
||||
This function returns the class instance to allow for fluent-style
|
||||
chaining.
|
||||
|
||||
@ -303,6 +306,7 @@ class View:
|
||||
|
||||
def clear_items(self) -> Self:
|
||||
"""Removes all items from the view.
|
||||
|
||||
This function returns the class instance to allow for fluent-style
|
||||
chaining.
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user