mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-08-28 14:05:05 +00:00
Add missing versionadded to some BaseView items
This commit is contained in:
parent
63357e0113
commit
50b0d219b5
@ -335,7 +335,9 @@ class BaseView:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def total_children_count(self) -> int:
|
def total_children_count(self) -> int:
|
||||||
""":class:`int`: The total number of children in this view, including those from nested items."""
|
""":class:`int`: The total number of children in this view, including those from nested items.
|
||||||
|
|
||||||
|
.. versionadded:: 2.6"""
|
||||||
return self._total_children
|
return self._total_children
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -655,6 +657,8 @@ class BaseView:
|
|||||||
"""An iterator that recursively walks through all the children of this view
|
"""An iterator that recursively walks through all the children of this view
|
||||||
and its children, if applicable.
|
and its children, if applicable.
|
||||||
|
|
||||||
|
.. versionadded:: 2.6
|
||||||
|
|
||||||
Yields
|
Yields
|
||||||
------
|
------
|
||||||
:class:`Item`
|
:class:`Item`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user