summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-10-27 20:25:18 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-10-27 20:25:18 (GMT)
commit971ba4c8170040d284ab8cf5331adcfb226156eb (patch)
treefb5a992c474a49a3b8a6ecbacdd6f17b12eb6b2c
parentedde409f60d9190ac65a45475cb2f773a4a7da03 (diff)
downloadcpython-971ba4c8170040d284ab8cf5331adcfb226156eb.zip
cpython-971ba4c8170040d284ab8cf5331adcfb226156eb.tar.gz
cpython-971ba4c8170040d284ab8cf5331adcfb226156eb.tar.bz2
#16337: fix typo.
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 433befa..4d479a7 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2164,7 +2164,7 @@ they are always created by calling the constructor:
* Creating an empty instance: ``bytearray()``
* Creating a zero-filled instance with a given length: ``bytearray(10)``
* From an iterable of integers: ``bytearray(range(20))``
-* Copying existing binary data via the buffer protocol: ``bytearray(b'Hi!)``
+* Copying existing binary data via the buffer protocol: ``bytearray(b'Hi!')``
As bytearray objects are mutable, they support the
:ref:`mutable <typesseq-mutable>` sequence operations in addition to the