Browse Source

Update docstring for RadioGroup class

Clarified the docstring to specify usage within Label.
pull/10416/head
Sacul 4 months ago
committed by GitHub
parent
commit
28aa397f2c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      discord/ui/radio.py

2
discord/ui/radio.py

@ -54,7 +54,7 @@ V = TypeVar('V', bound='BaseView', covariant=True)
class RadioGroup(Item[V]):
"""Represents a radio group component within a modal.
"""Represents a radio group component within a modal that can only be used in :class:`Label`.
.. versionadded:: 2.7

Loading…
Cancel
Save