mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 08:17:07 +08:00
Add __all__ to most modules beginning with 'n', 'o' and 'p' (#7345)
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
from abc import ABCMeta, abstractmethod
|
||||
from typing import Any, SupportsFloat, overload
|
||||
|
||||
__all__ = ["Number", "Complex", "Real", "Rational", "Integral"]
|
||||
|
||||
class Number(metaclass=ABCMeta):
|
||||
@abstractmethod
|
||||
def __hash__(self) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user