Fixed docstring for 'QueryCanceledError' exception.

This commit is contained in:
Daniele Varrazzo 2010-02-13 05:55:31 +00:00 committed by Federico Di Gregorio
parent f6e87fbb30
commit 04db8e7428
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@
* Fixed Inet constructor.
* Fixed docstring for 'QueryCanceledError' exception.
2010-02-10 Federico Di Gregorio <fog@initd.org>
* lib/extensions.py: Binary was not imported from _psycopg; now it is

View File

@ -431,7 +431,7 @@ static struct {
NotSupportedError_doc },
#ifdef PSYCOPG_EXTENSIONS
{ "psycopg2.extensions.QueryCanceledError", &QueryCanceledError,
&OperationalError, OperationalError_doc },
&OperationalError, QueryCanceledError_doc },
{ "psycopg2.extensions.TransactionRollbackError",
&TransactionRollbackError, &OperationalError,
TransactionRollbackError_doc },