Applied spelling fixes patch from Peter Eisentraut

This commit is contained in:
Federico Di Gregorio 2010-07-18 12:14:46 +02:00
parent b263fbf274
commit 557608f715
5 changed files with 6 additions and 6 deletions

View File

@ -309,7 +309,7 @@ The module exports a few exceptions in addition to the :ref:`standard ones
(subclasses `~psycopg2.OperationalError`)
Error related to SQL query cancelation. It can be trapped specifically to
Error related to SQL query cancellation. It can be trapped specifically to
detect a timeout.
.. versionadded:: 2.0.7

View File

@ -1553,7 +1553,7 @@ static struct PyMemberDef cursorObject_members[] = {
{"rowcount", T_LONG, OFFSETOF(rowcount), RO,
"Number of rows read from the backend in the last command."},
{"arraysize", T_LONG, OFFSETOF(arraysize), 0,
"Number of records `fetchmany()` must fetch if not explicitely " \
"Number of records `fetchmany()` must fetch if not explicitly " \
"specified."},
{"description", T_OBJECT, OFFSETOF(description), RO,
"Cursor description as defined in DBAPI-2.0."},

View File

@ -153,7 +153,7 @@ HIDDEN char *psycopg_escape_string(PyObject *conn,
#ifdef PSYCOPG_EXTENSIONS
#define QueryCanceledError_doc \
"Error related to SQL query cancelation."
"Error related to SQL query cancellation."
#define TransactionRollbackError_doc \
"Error causing transaction rollback (deadlocks, serialisation failures, etc)."

View File

@ -114,7 +114,7 @@ class psycopg_build_ext(build_ext):
def get_compiler(self):
"""Return the name of the C compiler used to compile extensions.
If a compiler was not explicitely set (on the command line, for
If a compiler was not explicitly set (on the command line, for
example), fall back on the default compiler.
"""
if self.compiler:

View File

@ -204,8 +204,8 @@ class DeadlockSerializationTests(unittest.TestCase):
error, psycopg2.extensions.TransactionRollbackError))
class QueryCancelationTests(unittest.TestCase):
"""Tests for query cancelation."""
class QueryCancellationTests(unittest.TestCase):
"""Tests for query cancellation."""
def setUp(self):
self.conn = psycopg2.connect(tests.dsn)