aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/MarkupSafe/py3/markupsafe/_speedups.c
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-19 18:51:55 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-19 18:51:55 +0300
commit9691260ca94129d24114051f9b7e117cb2fa9ca8 (patch)
tree4be5f8dd15be6c352c08d90c188adbb1f48d0027 /contrib/python/MarkupSafe/py3/markupsafe/_speedups.c
parent52a1ac58104ca032e718abb079dedc9600e85e34 (diff)
downloadydb-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.c19
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('&lt;User 1&gt;')\n"
},
- {
- "soft_unicode",
- (PyCFunction)soft_unicode,
- METH_O,
- ""
- },
{NULL, NULL, 0, NULL} /* Sentinel */
};