[Python-checkins] cpython (3.2): Issue #11071: Fix whatsnew description of O/S access to raw bytes.
raymond.hettinger
python-checkins at python.org
Fri Mar 25 20:41:44 CET 2011
http://hg.python.org/cpython/rev/a805d4415e34
changeset: 68930:a805d4415e34
branch: 3.2
parent: 68928:b21fdfa0019c
user: Raymond Hettinger <python at rcn.com>
date: Fri Mar 25 12:41:07 2011 -0700
summary:
Issue #11071: Fix whatsnew description of O/S access to raw bytes.
files:
Doc/whatsnew/3.2.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -1499,11 +1499,11 @@
>>> os.fsencode(filename)
b'Sehensw\xc3\xbcrdigkeiten'
-Some operating systems allow direct access to the unencoded bytes in the
+Some operating systems allow direct access to encoded bytes in the
environment. If so, the :attr:`os.supports_bytes_environ` constant will be
true.
-For direct access to unencoded environment variables (if available),
+For direct access to encoded environment variables (if available),
use the new :func:`os.getenvb` function or use :data:`os.environb`
which is a bytes version of :data:`os.environ`.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list