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

Skip to content

Commit 0b49637

Browse files
committed
Fix copy/paste error in bytes.isupper() doc.
Reported by Jon Colburn on docs@.
1 parent d2e067b commit 0b49637

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2880,8 +2880,8 @@ place, and instead produce new objects.
28802880
.. method:: bytes.isupper()
28812881
bytearray.isupper()
28822882

2883-
Return true if there is at least one lowercase alphabetic ASCII character
2884-
in the sequence and no uppercase ASCII characters, false otherwise.
2883+
Return true if there is at least one uppercase alphabetic ASCII character
2884+
in the sequence and no lowercase ASCII characters, false otherwise.
28852885

28862886
For example::
28872887

0 commit comments

Comments
 (0)