Add __all__ for modules beginning with 'e', 'f' and 'g' (#7325)

This commit is contained in:
Alex Waygood
2022-02-20 23:08:14 +00:00
committed by GitHub
parent 3ead05f277
commit 2fe519c3a7
13 changed files with 192 additions and 1 deletions

View File

@@ -7,7 +7,10 @@ from typing_extensions import Literal
_ComparableNum = Union[int, float, Decimal, Real]
if sys.version_info < (3, 9):
if sys.version_info >= (3, 9):
__all__ = ["Fraction"]
else:
__all__ = ["Fraction", "gcd"]
@overload
def gcd(a: int, b: int) -> int: ...
@overload