summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-01-29 19:09:58 -0800
committerDavid Lord <davidism@gmail.com>2020-01-29 19:09:58 -0800
commitf46ae22f04986dfafdf37d003992928146702584 (patch)
tree6a78e41b3c3c0340e426cff369c57fb8531eaba1
parenta4ca01b962cea9111a3816c7b1fd983551d5b29b (diff)
downloadmarkupsafe-f46ae22f04986dfafdf37d003992928146702584.tar.gz
remove Python 2 from docs
-rw-r--r--docs/escaping.rst2
-rw-r--r--docs/index.rst6
2 files changed, 1 insertions, 7 deletions
diff --git a/docs/escaping.rst b/docs/escaping.rst
index d99674d..9e7000a 100644
--- a/docs/escaping.rst
+++ b/docs/escaping.rst
@@ -18,4 +18,4 @@ Optional Values
Convert an Object to a String
-----------------------------
-.. autofunction:: soft_unicode
+.. autofunction:: soft_str
diff --git a/docs/index.rst b/docs/index.rst
index 3db77ef..71a8f03 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -21,12 +21,6 @@ Markup('&lt;em&gt;Hello&lt;/em&gt;')
>>> hello + ' <strong>World</strong>'
Markup('&lt;em&gt;Hello&lt;/em&gt; &lt;strong&gt;World&lt;/strong&gt;')
-.. note::
-
- The docs assume you're using Python 3. The terms "text" and "string"
- refer to the :class:`str` class. In Python 2, this would be the
- ``unicode`` class instead.
-
Installing
----------