diff options
author | David Lord <davidism@gmail.com> | 2020-01-29 19:09:58 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2020-01-29 19:09:58 -0800 |
commit | f46ae22f04986dfafdf37d003992928146702584 (patch) | |
tree | 6a78e41b3c3c0340e426cff369c57fb8531eaba1 | |
parent | a4ca01b962cea9111a3816c7b1fd983551d5b29b (diff) | |
download | markupsafe-f46ae22f04986dfafdf37d003992928146702584.tar.gz |
remove Python 2 from docs
-rw-r--r-- | docs/escaping.rst | 2 | ||||
-rw-r--r-- | docs/index.rst | 6 |
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('<em>Hello</em>') >>> hello + ' <strong>World</strong>' Markup('<em>Hello</em> <strong>World</strong>') -.. 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 ---------- |