overrides.pyi 525 B

1234567
  1. # NOTE: At runtime, this submodule dynamically re-exports any `numpy._core.overrides`
  2. # member, and issues a `DeprecationWarning` when accessed. But since there is no
  3. # `__dir__` or `__all__` present, these annotations would be unverifiable. Because
  4. # this module is also deprecated in favor of `numpy._core`, and therefore not part of
  5. # the public API, we omit the "re-exports", which in practice would require literal
  6. # duplication of the stubs in order for the `@deprecated` decorator to be understood
  7. # by type-checkers.