Skip to content

Commit 703bee6

Browse files
committed
changed 2.1.4 deprecation warnings to 2.2.0 deprecation warnings
1 parent 1731b50 commit 703bee6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src_c/scrap.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ _scrap_init(PyObject *self, PyObject *args)
101101
VIDEO_INIT_CHECK();
102102

103103
if (PyErr_WarnEx(PyExc_DeprecationWarning,
104-
"pygame.scrap.init deprecated since 2.1.4", 1) == -1) {
104+
"pygame.scrap.init deprecated since 2.2.0", 1) == -1) {
105105
return NULL;
106106
}
107107

@@ -133,7 +133,7 @@ static PyObject *
133133
_scrap_get_init(PyObject *self, PyObject *_null)
134134
{
135135
if (PyErr_WarnEx(PyExc_DeprecationWarning,
136-
"pygame.scrap.get_init deprecated since 2.1.4",
136+
"pygame.scrap.get_init deprecated since 2.2.0",
137137
1) == -1) {
138138
return NULL;
139139
}
@@ -154,7 +154,7 @@ _scrap_get_types(PyObject *self, PyObject *_null)
154154
PyObject *tmp;
155155

156156
if (PyErr_WarnEx(PyExc_DeprecationWarning,
157-
"pygame.scrap.get_types deprecated since 2.1.4",
157+
"pygame.scrap.get_types deprecated since 2.2.0",
158158
1) == -1) {
159159
return NULL;
160160
}
@@ -201,7 +201,7 @@ _scrap_contains(PyObject *self, PyObject *args)
201201
char *type = NULL;
202202

203203
if (PyErr_WarnEx(PyExc_DeprecationWarning,
204-
"pygame.scrap.contains deprecated since 2.1.4",
204+
"pygame.scrap.contains deprecated since 2.2.0",
205205
1) == -1) {
206206
return NULL;
207207
}
@@ -225,7 +225,7 @@ _scrap_get_scrap(PyObject *self, PyObject *args)
225225
size_t count;
226226

227227
if (PyErr_WarnEx(PyExc_DeprecationWarning,
228-
"pygame.scrap.get deprecated since 2.1.4. Consider using"
228+
"pygame.scrap.get deprecated since 2.2.0. Consider using"
229229
" pygame.scrap.get_text instead.",
230230
1) == -1) {
231231
return NULL;
@@ -304,7 +304,7 @@ _scrap_put_scrap(PyObject *self, PyObject *args)
304304
static const char argfmt[] = "sy#";
305305

306306
if (PyErr_WarnEx(PyExc_DeprecationWarning,
307-
"pygame.scrap.put deprecated since 2.1.4. Consider using"
307+
"pygame.scrap.put deprecated since 2.2.0. Consider using"
308308
" pygame.scrap.put_text instead.",
309309
1) == -1) {
310310
return NULL;
@@ -364,7 +364,7 @@ _scrap_set_mode(PyObject *self, PyObject *args)
364364
PYGAME_SCRAP_INIT_CHECK();
365365

366366
if (PyErr_WarnEx(PyExc_DeprecationWarning,
367-
"pygame.scrap.set_mode deprecated since 2.1.4",
367+
"pygame.scrap.set_mode deprecated since 2.2.0",
368368
1) == -1) {
369369
return NULL;
370370
}

0 commit comments

Comments
 (0)