From 77d25dbd0f20d6a907c805ffae8aaadd87edbacf Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 5 Feb 2019 09:38:29 -0500 Subject: Refs #27753 -- Favored SafeString over SafeText. --- docs/ref/utils.txt | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 9621db525b..0461cf6c11 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -748,14 +748,8 @@ appropriate entities. .. class:: SafeString - A ``str`` subclass that has been specifically marked as "safe" - (requires no further escaping) for HTML output purposes. Alias of - :class:`SafeText`. - -.. class:: SafeText - - A ``str`` subclass that has been specifically marked as "safe" for HTML - output purposes. + A ``str`` subclass that has been specifically marked as "safe" (requires no + further escaping) for HTML output purposes. .. function:: mark_safe(s) @@ -774,7 +768,7 @@ appropriate entities. >>> mystr = 'Hello World ' >>> mystr = mark_safe(mystr) >>> type(mystr) - + >>> mystr = mystr.strip() # removing whitespace >>> type(mystr) -- cgit v1.3