From 466c27488935553180840dc337e667ae4f2173db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= <inform@tiker.net> Date: Mon, 21 Oct 2019 16:51:21 +0200 Subject: [PATCH] Fix version change documentation for Array.get_async and related Array.get change --- pyopencl/array.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyopencl/array.py b/pyopencl/array.py index 9f2cb675..3805d2d8 100644 --- a/pyopencl/array.py +++ b/pyopencl/array.py @@ -687,7 +687,7 @@ class Array(object): :mod:`numpy.ndarray`. If *ary* is given, it must have the same shape and dtype. - .. versionchanged:: 2019.1 + .. versionchanged:: 2019.1.2 Calling with `async_=True` was deprecated and replaced by :meth:`get_async`. @@ -724,6 +724,8 @@ class Array(object): containing the host array `ary` and the :class:`pyopencl.NannyEvent` `event` returned by :meth:`pyopencl.enqueue_copy`. + + .. versionadded:: 2019.1.2 """ return self._get(queue=queue, ary=ary, async_=True, **kwargs) -- GitLab