diff options
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 |