summaryrefslogtreecommitdiff
path: root/doc/release/upcoming_changes/16558.new_feature.rst
blob: 9bd508e83a787ef1a3cbd410b846c5b46b639d49 (plain)
1
2
3
4
5
6
7
8
9
``numpy.typing`` is accessible at runtime
-----------------------------------------
The types in ``numpy.typing`` can now be imported at runtime. Code
like the following will now work:

.. code:: python

    from numpy.typing import ArrayLike
    x: ArrayLike = [1, 2, 3, 4]