From: Amaury Forgeot d'Arc Date: Tue, 22 Nov 2011 18:34:08 +0000 (+0100) Subject: bytes() can't be used to get a representation of an object. X-Git-Tag: v3.2.3rc1~371 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b1acf11e98bceec44c28d9e6d665e68227d8bf2;p=thirdparty%2FPython%2Fcpython.git bytes() can't be used to get a representation of an object. --- diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index 528febd031fd..ca3ad3ea4c81 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