From 5fbd4f6f8ea897a322116804abfd487c460671ab Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Wed, 22 Jun 2011 00:20:39 -0400 Subject: [PATCH] Change version numbers in warnings to match new version scheme. --- pyopencl/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py index db4838dc..21f2317e 100644 --- a/pyopencl/__init__.py +++ b/pyopencl/__init__.py @@ -204,7 +204,7 @@ def _add_functionality(): if had_local_size: from warnings import warn warn("The local_size keyword argument is deprecated and will be " - "removed in pyopencl 0.94. Pass the local " + "removed in pyopencl 2012.x. Pass the local " "size as the third positional argument instead.", DeprecationWarning, stacklevel=2) @@ -220,7 +220,7 @@ def _add_functionality(): "You didn't pass local_size, but you still need to insert " "'None' as a third argument. " "Your present usage is deprecated and will stop " - "working in pyopencl 0.94.", + "working in pyopencl 2012.x.", DeprecationWarning, stacklevel=2) self.set_args(*args) -- GitLab