Privatize APIs by renaming or removing them from __all__ (#6021)

This commit is contained in:
Jakub Kuczys
2023-04-17 23:44:33 +02:00
committed by GitHub
parent eafbb06756
commit f051eae92d
126 changed files with 508 additions and 157 deletions

View File

@@ -14,6 +14,15 @@ from .. import commands
from .predicates import ReactionPredicate
from .views import SimpleMenu, _SimplePageSource
__all__ = (
"menu",
"next_page",
"prev_page",
"close_menu",
"start_adding_reactions",
"DEFAULT_CONTROLS",
)
_T = TypeVar("_T")
_PageList = TypeVar("_PageList", List[str], List[discord.Embed])
_ReactableEmoji = Union[str, discord.Emoji]