diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2019-02-11 01:09:20 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2019-02-11 01:20:21 +0000 |
commit | 7c148ecee43ae2a9045d97f1451ee92beb827784 (patch) | |
tree | 5df50039830c8768f3d97d9398fdc071bf32353c /doc/src/module.rst | |
parent | 3de4d17519670f5db058ef98c7b80a11b5ea23ea (diff) | |
download | psycopg2-errors-module-c.tar.gz |
Improvements to errors module docserrors-module-c
Diffstat (limited to 'doc/src/module.rst')
-rw-r--r-- | doc/src/module.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/module.rst b/doc/src/module.rst index c6944f8..f17f3ae 100644 --- a/doc/src/module.rst +++ b/doc/src/module.rst @@ -137,14 +137,15 @@ available through the following exceptions: .. exception:: Warning Exception raised for important warnings like data truncations while - inserting, etc. It is a subclass of the Python `~exceptions.StandardError`. + inserting, etc. It is a subclass of the Python `StandardError` + (`Exception` on Python 3). .. exception:: Error Exception that is the base class of all other error exceptions. You can use this to catch all errors with one single `!except` statement. Warnings are not considered errors and thus not use this class as base. It - is a subclass of the Python `!StandardError`. + is a subclass of the Python `StandardError` (`Exception` on Python 3). .. attribute:: pgerror |