Skip to content

Commit e62ddb3

Browse files
author
Nikhil Kumar
committed
Clarify bytes.isalnum and bytearray.isalnum doc wording
1 parent 5e2f0b9 commit e62ddb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/stdtypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3641,8 +3641,8 @@ place, and instead produce new objects.
36413641
.. method:: bytes.isalnum()
36423642
bytearray.isalnum()
36433643

3644-
Return ``True`` if all bytes in the sequence are alphabetical ASCII characters
3645-
or ASCII decimal digits and the sequence is not empty, ``False`` otherwise.
3644+
Return ``True`` if all bytes in the sequence are alphabetic ASCII characters
3645+
and/or ASCII decimal digits and the sequence is not empty, ``False`` otherwise.
36463646
Alphabetic ASCII characters are those byte values in the sequence
36473647
``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'``. ASCII decimal
36483648
digits are those byte values in the sequence ``b'0123456789'``.

0 commit comments

Comments
 (0)