Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df07aac

Browse files
committed
Issue #11071: Fix whatsnew description of O/S access to raw bytes.
1 parent 041015c commit df07aac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/whatsnew/3.2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,11 +1499,11 @@ filenames:
14991499
>>> os.fsencode(filename)
15001500
b'Sehensw\xc3\xbcrdigkeiten'
15011501

1502-
Some operating systems allow direct access to the unencoded bytes in the
1502+
Some operating systems allow direct access to encoded bytes in the
15031503
environment. If so, the :attr:`os.supports_bytes_environ` constant will be
15041504
true.
15051505

1506-
For direct access to unencoded environment variables (if available),
1506+
For direct access to encoded environment variables (if available),
15071507
use the new :func:`os.getenvb` function or use :data:`os.environb`
15081508
which is a bytes version of :data:`os.environ`.
15091509

0 commit comments

Comments
 (0)