diff --git a/ChangeLog b/ChangeLog index b6ec4c1e..333bc21a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ * Fixed Inet constructor. + * Fixed docstring for 'QueryCanceledError' exception. + 2010-02-10 Federico Di Gregorio * lib/extensions.py: Binary was not imported from _psycopg; now it is diff --git a/psycopg/psycopgmodule.c b/psycopg/psycopgmodule.c index 5a97ff8f..c88616c7 100644 --- a/psycopg/psycopgmodule.c +++ b/psycopg/psycopgmodule.c @@ -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 },