Skip to content

Commit

Permalink
Fix ensure_text docs. (#326)
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Peterson <benjamin@python.org>
  • Loading branch information
Neob91 and benjaminp committed Apr 10, 2020
1 parent 3a3db75 commit a5bb7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5bb7aa

Please sign in to comment.