mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
Privatize APIs by renaming or removing them from __all__ (#6021)
This commit is contained in:
@@ -13,16 +13,13 @@ from typing import (
|
||||
Union as _Union,
|
||||
)
|
||||
|
||||
|
||||
MIN_PYTHON_VERSION = (3, 8, 1)
|
||||
|
||||
__all__ = [
|
||||
"MIN_PYTHON_VERSION",
|
||||
__all__ = (
|
||||
"__version__",
|
||||
"version_info",
|
||||
"VersionInfo",
|
||||
"_update_event_loop_policy",
|
||||
]
|
||||
)
|
||||
|
||||
MIN_PYTHON_VERSION = (3, 8, 1)
|
||||
if _sys.version_info < MIN_PYTHON_VERSION:
|
||||
print(
|
||||
f"Python {'.'.join(map(str, MIN_PYTHON_VERSION))} is required to run Red, but you have "
|
||||
|
||||
Reference in New Issue
Block a user