mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Add __all__ for modules beginning with 'e', 'f' and 'g' (#7325)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user