summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-03-25 19:41:07 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-03-25 19:41:07 (GMT)
commitdf07aacebb5e414d2dbf1282df75761a6746c4e6 (patch)
treeee9c4c15a984692a4baad9340e5230b3aa6e3b8d /Doc/whatsnew
parent041015cc70465c8a008d4ef45ffe3fe05041fad2 (diff)
downloadcpython-df07aacebb5e414d2dbf1282df75761a6746c4e6.zip
cpython-df07aacebb5e414d2dbf1282df75761a6746c4e6.tar.gz
cpython-df07aacebb5e414d2dbf1282df75761a6746c4e6.tar.bz2
Issue #11071: Fix whatsnew description of O/S access to raw bytes.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.2.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index 20ce228..d411d85 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -1499,11 +1499,11 @@ filenames:
>>> 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`.