diff options
author | Andrzej BartosiĆski <Neob91@users.noreply.github.com> | 2020-04-10 02:59:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 19:59:23 -0500 |
commit | a5bb7aab524f4edb986d33e4a47975a8e2d0c43c (patch) | |
tree | 8045d5bde1af7d424082dc8a4c5c091d985a28c1 /documentation | |
parent | 3a3db7510b33eb22c63ad94bc735a9032949249f (diff) | |
download | six-git-a5bb7aab524f4edb986d33e4a47975a8e2d0c43c.tar.gz |
Fix ensure_text docs. (#326)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/index.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/index.rst b/documentation/index.rst index e2e82e3..45390b8 100644 --- a/documentation/index.rst +++ b/documentation/index.rst @@ -452,7 +452,7 @@ string data in all Python versions. .. function:: ensure_text(s, encoding='utf-8', errors='strict') Coerce *s* to :data:`text_type`. *encoding*, *errors* are the same as - :meth:`py3:str.encode` + :meth:`py3:bytes.decode` .. data:: StringIO |