diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-19 18:51:55 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-19 18:51:55 +0300 |
commit | 9691260ca94129d24114051f9b7e117cb2fa9ca8 (patch) | |
tree | 4be5f8dd15be6c352c08d90c188adbb1f48d0027 /contrib/python/MarkupSafe/py3/markupsafe/_speedups.c | |
parent | 52a1ac58104ca032e718abb079dedc9600e85e34 (diff) | |
download | ydb-9691260ca94129d24114051f9b7e117cb2fa9ca8.tar.gz |
intermediate changes
ref:0bb75733c76b2fcaae048d43c4477755596029bb
Diffstat (limited to 'contrib/python/MarkupSafe/py3/markupsafe/_speedups.c')
-rw-r--r-- | contrib/python/MarkupSafe/py3/markupsafe/_speedups.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/contrib/python/MarkupSafe/py3/markupsafe/_speedups.c b/contrib/python/MarkupSafe/py3/markupsafe/_speedups.c index 44967b1fdc..3c463fb82d 100644 --- a/contrib/python/MarkupSafe/py3/markupsafe/_speedups.c +++ b/contrib/python/MarkupSafe/py3/markupsafe/_speedups.c @@ -254,19 +254,6 @@ soft_str(PyObject *self, PyObject *s) } -static PyObject* -soft_unicode(PyObject *self, PyObject *s) -{ - PyErr_WarnEx( - PyExc_DeprecationWarning, - "'soft_unicode' has been renamed to 'soft_str'. The old name" - " will be removed in MarkupSafe 2.1.", - 2 - ); - return soft_str(self, s); -} - - static PyMethodDef module_methods[] = { { "escape", @@ -308,12 +295,6 @@ static PyMethodDef module_methods[] = { ">>> escape(soft_str(value))\n" "Markup('<User 1>')\n" }, - { - "soft_unicode", - (PyCFunction)soft_unicode, - METH_O, - "" - }, {NULL, NULL, 0, NULL} /* Sentinel */ }; |