summaryrefslogtreecommitdiffstats
path: root/Doc/library/binascii.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-05-04 15:06:34 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-05-04 15:06:34 (GMT)
commitc228e96726129e20519a2016075fca3dc9fdcd30 (patch)
treebf6fca50fa7f3fd47fdfe20fbed1baf2d65f2585 /Doc/library/binascii.rst
parent28faf03d4474d184b30a8013c70845b6600d456d (diff)
downloadcpython-c228e96726129e20519a2016075fca3dc9fdcd30.zip
cpython-c228e96726129e20519a2016075fca3dc9fdcd30.tar.gz
cpython-c228e96726129e20519a2016075fca3dc9fdcd30.tar.bz2
#16518: use "bytes-like object" throughout the docs.
Diffstat (limited to 'Doc/library/binascii.rst')
-rw-r--r--Doc/library/binascii.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/binascii.rst b/Doc/library/binascii.rst
index baf430d..02ec5d8 100644
--- a/Doc/library/binascii.rst
+++ b/Doc/library/binascii.rst
@@ -21,8 +21,9 @@ higher-level modules.
.. note::
``a2b_*`` functions accept Unicode strings containing only ASCII characters.
- Other functions only accept bytes and bytes-compatible objects (such as
- bytearray objects and other objects implementing the buffer API).
+ Other functions only accept :term:`bytes-like object`\ s (such as
+ :class:`bytes`, :class:`bytearray` and other objects that support the buffer
+ protocol).
.. versionchanged:: 3.3
ASCII-only unicode strings are now accepted by the ``a2b_*`` functions.