summaryrefslogtreecommitdiff
path: root/numpy/typing/mypy_plugin.py
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2021-06-22 09:23:50 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2021-06-22 11:44:39 +0200
commit82d991c9fbdab578670c6fc66b254c97c4a8446f (patch)
tree02f1bc57f765ead111130409d8b40dd0d63ea406 /numpy/typing/mypy_plugin.py
parentfbe39c404c194f2ea4283bfba2a786ac01cedf03 (diff)
downloadnumpy-82d991c9fbdab578670c6fc66b254c97c4a8446f.tar.gz
DOC: Add `versionadded` directives to `numpy.typing`
Diffstat (limited to 'numpy/typing/mypy_plugin.py')
-rw-r--r--numpy/typing/mypy_plugin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/typing/mypy_plugin.py b/numpy/typing/mypy_plugin.py
index d698673fc..02bd18887 100644
--- a/numpy/typing/mypy_plugin.py
+++ b/numpy/typing/mypy_plugin.py
@@ -12,9 +12,9 @@ Its functionality can be split into three distinct parts:
likes of `~numpy.float128` and `~numpy.complex256`. Without the plugin *all*
extended-precision types will, as far as mypy is concerned, be available
to all platforms.
-* Assigning the (platform-dependent) precision of `~numpy.ctypeslib.c_intp`.
- Without the plugin aforementioned type will default to `ctypes.c_int64`.
-
+* .. versionadded:: 1.22
+ Assigning the (platform-dependent) precision of `~numpy.ctypeslib.c_intp`.
+ Without the plugin aforementioned type will default to `ctypes.c_int64`.
Examples
--------