Browse Source

Revert unrelated docs changes

pull/10302/head
Soheab_ 1 month ago
parent
commit
7b213d146f
  1. 3
      discord/ui/file.py
  2. 3
      discord/ui/media_gallery.py
  3. 3
      discord/ui/section.py

3
discord/ui/file.py

@ -46,8 +46,7 @@ __all__ = ('File',)
class File(Item[V]):
"""Represents a UI file component.
This is a top-level layout component that can only be used on :class:`LayoutView`,
or :class:`Container`.
This is a top-level layout component that can only be used on :class:`LayoutView`.
.. versionadded:: 2.6

3
discord/ui/media_gallery.py

@ -51,8 +51,7 @@ class MediaGallery(Item[V]):
Can contain up to 10 :class:`.MediaGalleryItem`\s.
This is a top-level layout component that can only be used on :class:`LayoutView`,
or :class:`Container`.
This is a top-level layout component that can only be used on :class:`LayoutView`.
.. versionadded:: 2.6

3
discord/ui/section.py

@ -46,8 +46,7 @@ __all__ = ('Section',)
class Section(Item[V]):
r"""Represents a UI section.
This is a top-level layout component that can only be used on :class:`LayoutView`,
or :class:`Container`.
This is a top-level layout component that can only be used on :class:`LayoutView`.
.. versionadded:: 2.6

Loading…
Cancel
Save