Searched refs:soft_str (Results 1 – 10 of 10) sorted by relevance
12 from markupsafe import soft_str187 s = soft_str(s)188 return s.replace(soft_str(old), soft_str(new), count)193 return soft_str(s).upper()198 return soft_str(s).lower()241 return soft_str(s).capitalize()251 for item in _word_beginning_split_re.split(soft_str(s))491 return soft_str(d).join(map(soft_str, value))744 return len(_word_re.findall(soft_str(s)))803 return soft_str(value) % (kwargs or args)[all …]
9 from markupsafe import soft_str51 iterator = map(soft_str, seq)
177 def test_soft_str(soft_str): argument178 assert type(soft_str("")) is str179 assert type(soft_str(Markup())) is Markup180 assert type(soft_str(15)) is str
36 def soft_str(_mod): function37 return _mod.soft_str
42 def soft_str(s): function70 return soft_str(s)
248 soft_str(PyObject *self, PyObject *s) in soft_str() function266 return soft_str(self, s); in soft_unicode()297 (PyCFunction)soft_str,
275 from ._speedups import soft_str280 from ._native import soft_str # noqa: F401
21 .. autofunction:: soft_str
233 soft_str = soft_unicode variable
27 by wrapping the input in :func:`soft_str`. :pr:`1160`