diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-06-17 21:21:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 21:21:58 +0300 |
commit | 02883d85b5d3f68c12cb1df75f96e0fed741d4a4 (patch) | |
tree | 17d344fa051f564d360ef0726018fba99fde64cf /doc/release | |
parent | 95a6774007d1d7898c7da40d9989e9f1dd1b0f40 (diff) | |
parent | d985e8ca2fca154d3770c842a2da1ba6dc3aaf1c (diff) | |
download | numpy-02883d85b5d3f68c12cb1df75f96e0fed741d4a4.tar.gz |
Merge pull request #16558 from person142/typing-runtime
ENH: make typing module available at runtime
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/upcoming_changes/16558.new_feature.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/16558.new_feature.rst b/doc/release/upcoming_changes/16558.new_feature.rst new file mode 100644 index 000000000..9bd508e83 --- /dev/null +++ b/doc/release/upcoming_changes/16558.new_feature.rst @@ -0,0 +1,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] |