Browse Source

Add missing versionadded to some BaseView items

pull/10279/head
lmaotrigine 3 days ago
committed by GitHub
parent
commit
50b0d219b5
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      discord/ui/view.py

6
discord/ui/view.py

@ -335,7 +335,9 @@ class BaseView:
@property
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
@classmethod
@ -655,6 +657,8 @@ class BaseView:
"""An iterator that recursively walks through all the children of this view
and its children, if applicable.
.. versionadded:: 2.6
Yields
------
:class:`Item`

Loading…
Cancel
Save