summaryrefslogtreecommitdiff
path: root/numpy/core/function_base.pyi
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Split `numpy.typing` into a public and private componentBas van Beek2022-03-181-1/+1
| | | | i.e. `numpy.typing` and `numpy._typing`
* MAINT: Create the `_DTypeLike` type-alias in `numpy.typing`Bas van Beek2022-01-241-12/+2
| | | | Represents a subset of `npt.DTypeLike` that can be parametrized w.r.t. `np.generic`
* STY: Use subscriptable `builtins` types over the generic aliases in `typing`Bas van Beek2021-12-231-10/+7
|
* ENH: Add dtype-typing support to `np.core.function_base`Bas van Beek2021-11-261-22/+162
|
* ENH: Add annotations for `np.lib.function_base`Bas van Beek2021-09-301-1/+12
|
* MAINT: Drop .pyi code-paths specific to Python 3.7Bas van Beek2021-08-301-7/+1
|
* MAINT: Remove unsafe unions from `np.core.function_base`Bas van Beek2021-04-301-2/+4
|
* MAINT: Import `SupportsIndex` from typing-extensionsBas van Beek2021-02-011-4/+1
| | | | These days `SupportsIndex` is available in typing-extensions (and recognized by mypy)
* MAINT: Renamed `<X>Like` to `<X>Like_co`Bas van Beek2021-01-181-2/+2
|
* MAINT: Rename `DtypeLike` to `DTypeLike`Bas van Beek2020-11-031-5/+5
|
* MAINT: Move aliases for common scalar unions to `numpy.typing` (#17429)Bas van Beek2020-10-071-2/+2
| | | * MAINT: Move the `<scalar>Like` unions to `numpy.typing`
* ENH: Change the `axis` type to `SupportsIndex`Bas van Beek2020-08-231-4/+4
|
* Revert "MAINT: `SupportsIndex` was added to typing-extensions as of 3.7.4.3"Bas van Beek2020-08-231-1/+4
| | | | This reverts commit c9c44fd65046fc9e5c7308e04522a9ff8562f649.
* MAINT: `SupportsIndex` was added to typing-extensions as of 3.7.4.3Bas van Beek2020-08-231-4/+1
|
* MAINT: The returned step size can be complexBas van Beek2020-08-231-2/+2
| | | | Co-Authored-By: Eric Wieser <eric-wieser@users.noreply.github.com>
* REV: Manually define the `SupportsIndex` protocolBas van Beek2020-08-231-1/+4
| | | | `SupportsIndex` is apparently still missing from the typing-extensions 3.7.4.2 pypi release (see https://github.com/python/typing/issues/749): manually define the protocol in the relevant stubs.
* MAINT: Removed unused importBas van Beek2020-08-231-1/+1
|
* ENH: Add stubs for `np.core.function_base`Bas van Beek2020-08-231-0/+53