summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorJosh Wilson <person142@users.noreply.github.com>2020-06-14 16:41:32 -0700
committerJosh Wilson <person142@users.noreply.github.com>2020-06-14 16:41:32 -0700
commitc88f5a232222b777a00e40648a6121428858df8d (patch)
tree1900168cef8cadb76c5075535c186bd9c707458d /doc/release
parent4a120f0d073506329b564bfe9e69db2f6b612964 (diff)
downloadnumpy-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.rst9
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]