]> granicus.if.org Git - python/commitdiff
bytes() can't be used to get a representation of an object.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 22 Nov 2011 18:34:08 +0000 (19:34 +0100)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 22 Nov 2011 18:34:08 +0000 (19:34 +0100)
Doc/library/exceptions.rst

index 528febd031fdaead18be3956dd8c1e775c822a14..ca3ad3ea4c81b49ebcf3980be191cdd964b8b8fb 100644 (file)
@@ -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