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 17:32:56 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2021-06-22 17:32:56 +0200
commit7cf1b178485d38292f367f8e0c017a64b7ab67b6 (patch)
treec72370277fff8070ecb8038228935cbf4ac11206 /numpy/typing/mypy_plugin.py
parent82d991c9fbdab578670c6fc66b254c97c4a8446f (diff)
downloadnumpy-7cf1b178485d38292f367f8e0c017a64b7ab67b6.tar.gz
DOC: Move the `versionadded` directive to the bottom of the bullet point
Co-Authored-By: Charles Harris <charlesr.harris@gmail.com>
Diffstat (limited to 'numpy/typing/mypy_plugin.py')
-rw-r--r--numpy/typing/mypy_plugin.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/numpy/typing/mypy_plugin.py b/numpy/typing/mypy_plugin.py
index 02bd18887..30c826d50 100644
--- a/numpy/typing/mypy_plugin.py
+++ b/numpy/typing/mypy_plugin.py
@@ -12,9 +12,10 @@ 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.
-* .. versionadded:: 1.22
- Assigning the (platform-dependent) precision of `~numpy.ctypeslib.c_intp`.
- Without the plugin aforementioned type will default to `ctypes.c_int64`.
+* Assigning the (platform-dependent) precision of `~numpy.ctypeslib.c_intp`.
+ Without the plugin aforementioned type will default to `ctypes.c_int64`.
+
+ .. versionadded:: 1.22
Examples
--------