diff options
author | Lee Ball <43632885+catleeball@users.noreply.github.com> | 2019-01-19 09:57:40 -0800 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2019-01-19 09:57:40 -0800 |
commit | 296c10ce27e11f8c283320b8d9165e393648b760 (patch) | |
tree | 7395dced86f5dd78907dfa4445a43e5fbf424103 /documentation | |
parent | 44f9d2efa67b58e371a7c9308f6ea00bb7e0a810 (diff) | |
download | six-git-296c10ce27e11f8c283320b8d9165e393648b760.tar.gz |
minor formatting fix to ensure_str documentation (#273)
Small update to the `ensure_str` function's documentation formatting to
match `ensure_binary` and `ensure_text`'s formatting.
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 d0c605d..c4d1d83 100644 --- a/documentation/index.rst +++ b/documentation/index.rst @@ -444,7 +444,7 @@ string data in all Python versions. .. function:: ensure_str(s, encoding='utf-8', errors='strict') - Coerce *s* to ``str``. ``encoding``, ``errors`` are the same + Coerce *s* to ``str``. *encoding*, *errors* are the same :meth:`py3:str.encode` |