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

Skip to content

Commit fdc58fd

Browse files
committed
Merge: Fix verb tense in base64 docs, and the phrasing of a news entry.
2 parents 66bf12a + 78ee328 commit fdc58fd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/base64.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ The modern interface provides:
107107
digit 0 is always mapped to the letter O). For security purposes the default is
108108
``None``, so that 0 and 1 are not allowed in the input.
109109

110-
The decoded byte string is returned. A :exc:`binascii.Error` is raised if *s* were
110+
The decoded byte string is returned. A :exc:`binascii.Error` is raised if *s* is
111111
incorrectly padded or if there are non-alphabet characters present in the
112112
string.
113113

Misc/NEWS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2131,9 +2131,9 @@ Library
21312131
- Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw
21322132
stream's read() returns more bytes than requested.
21332133

2134-
- Issue #18011: base64.b32decode() now raises a binascii.Error if there are
2135-
non-alphabet characters present in the input string to conform a docstring.
2136-
Updated the module documentation.
2134+
- Issue #18011: As was originally intended, base64.b32decode() now raises a
2135+
binascii.Error if there are non-b32-alphabet characters present in the input
2136+
string, instead of a TypeError.
21372137

21382138
- Issue #18072: Implement importlib.abc.InspectLoader.get_code() and
21392139
importlib.abc.ExecutionLoader.get_code().

0 commit comments

Comments
 (0)