[Python-checkins] cpython (3.4): Fix copy/paste error in bytes.isupper() doc.

zach.ware python-checkins at python.org
Fri Feb 27 08:51:20 CET 2015


https://hg.python.org/cpython/rev/d0e15d9cdd4b
changeset:   94769:d0e15d9cdd4b
branch:      3.4
parent:      94765:ed27f53137ad
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Fri Feb 27 01:40:22 2015 -0600
summary:
  Fix copy/paste error in bytes.isupper() doc.

Reported by Jon Colburn on docs at .

files:
  Doc/library/stdtypes.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2880,8 +2880,8 @@
 .. method:: bytes.isupper()
             bytearray.isupper()
 
-   Return true if there is at least one lowercase alphabetic ASCII character
-   in the sequence and no uppercase ASCII characters, false otherwise.
+   Return true if there is at least one uppercase alphabetic ASCII character
+   in the sequence and no lowercase ASCII characters, false otherwise.
 
    For example::
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list