Add __all__ to most modules beginning with 'n', 'o' and 'p' (#7345)

This commit is contained in:
Alex Waygood
2022-02-22 01:57:03 +00:00
committed by GitHub
parent 09c945b32b
commit d6ce3abd68
20 changed files with 377 additions and 2 deletions

View File

@@ -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: ...