mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 16:33:49 +08:00
Add __all__ for modules beginning with 'e', 'f' and 'g' (#7325)
This commit is contained in:
1 parent
3ead05f277
commit
2fe519c3a7
13 files changed
+192
-1
No files matched your search
@@ -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