summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2011-11-22 18:34:08 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2011-11-22 18:34:08 (GMT)
commit3b1acf11e98bceec44c28d9e6d665e68227d8bf2 (patch)
treed2f24c2d8b6d54f8225277fad048f759292c5724 /Doc/library
parenta233df885b15ada37bb04e06aa465e8d4554b228 (diff)
downloadcpython-3b1acf11e98bceec44c28d9e6d665e68227d8bf2.zip
cpython-3b1acf11e98bceec44c28d9e6d665e68227d8bf2.tar.gz
cpython-3b1acf11e98bceec44c28d9e6d665e68227d8bf2.tar.bz2
bytes() can't be used to get a representation of an object.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/exceptions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 528febd..ca3ad3e 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -40,9 +40,9 @@ The following exceptions are used mostly as base classes for other exceptions.
The base class for all built-in exceptions. It is not meant to be directly
inherited by user-defined classes (for that, use :exc:`Exception`). If
- :func:`bytes` or :func:`str` is called on an instance of this class, the
- representation of the argument(s) to the instance are returned, or the empty
- string when there were no arguments.
+ :func:`str` is called on an instance of this class, the representation of
+ the argument(s) to the instance are returned, or the empty string when
+ there were no arguments.
.. attribute:: args