Browse Source

fix: Change send type to None in Section.walk_children return type

Co-authored-by: Michael H <[email protected]>
pull/10166/head
DA344 4 weeks ago
committed by GitHub
parent
commit
50c40a20b3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      discord/ui/section.py

2
discord/ui/section.py

@ -115,7 +115,7 @@ class Section(Item[V]):
def is_dispatchable(self) -> bool:
return self.accessory.is_dispatchable()
def walk_children(self) -> Generator[Item[V], Any, None]:
def walk_children(self) -> Generator[Item[V], None, None]:
"""An iterator that recursively walks through all the children of this section.
and it's children, if applicable.

Loading…
Cancel
Save