summaryrefslogtreecommitdiffstats
path: root/Doc/library/exceptions.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2009-09-13 07:54:02 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2009-09-13 07:54:02 (GMT)
commit985e24dcf7368894f945c360c383059a21b1ba0b (patch)
tree4736769c0e526b53c8a98c3dfd213e5bf9c89bb1 /Doc/library/exceptions.rst
parentb5845056da831ee3bad9400d5fe9dcd88f9ae534 (diff)
downloadcpython-985e24dcf7368894f945c360c383059a21b1ba0b.zip
cpython-985e24dcf7368894f945c360c383059a21b1ba0b.tar.gz
cpython-985e24dcf7368894f945c360c383059a21b1ba0b.tar.bz2
fixed more examples that were using u"", print without () and unicode/str instead of str/bytes
Diffstat (limited to 'Doc/library/exceptions.rst')
-rw-r--r--Doc/library/exceptions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index feeeffd..17a0fed 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -52,7 +52,7 @@ The following exceptions are only used 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:`str` or :func:`unicode` is called on an instance of this class, the
+ :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. All arguments are stored in :attr:`args`
as a tuple.