diff options
author | Josh Wilson <person142@users.noreply.github.com> | 2020-06-14 16:41:32 -0700 |
---|---|---|
committer | Josh Wilson <person142@users.noreply.github.com> | 2020-06-14 16:41:32 -0700 |
commit | c88f5a232222b777a00e40648a6121428858df8d (patch) | |
tree | 1900168cef8cadb76c5075535c186bd9c707458d /doc/release | |
parent | 4a120f0d073506329b564bfe9e69db2f6b612964 (diff) | |
download | numpy-c88f5a232222b777a00e40648a6121428858df8d.tar.gz |
DOC: add release note about `np.typing` being 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] |