diff options
| author | Piotr Kasprzyk <ciri@ciri.pl> | 2013-04-26 10:21:56 +0200 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2013-04-26 09:59:40 +0100 |
| commit | 31b6ec63f8ab0bc0333c0cbe9a19543fde437ce2 (patch) | |
| tree | 591d9e77b7d8ef7d968480dac2e22aa69a8b19a2 /doc/src | |
| parent | 2eba97de7059b71b953fda9b1720a7059cbbcaf2 (diff) | |
| download | psycopg2-31b6ec63f8ab0bc0333c0cbe9a19543fde437ce2.tar.gz | |
Fix multiple misspellings
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/connection.rst | 2 | ||||
| -rw-r--r-- | doc/src/extensions.rst | 6 | ||||
| -rw-r--r-- | doc/src/extras.rst | 2 | ||||
| -rw-r--r-- | doc/src/faq.rst | 2 | ||||
| -rw-r--r-- | doc/src/usage.rst | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/doc/src/connection.rst b/doc/src/connection.rst index 2828ab8..22f1f06 100644 --- a/doc/src/connection.rst +++ b/doc/src/connection.rst @@ -678,7 +678,7 @@ The ``connection`` class Return one of the constants defined in :ref:`poll-constants`. If it returns `~psycopg2.extensions.POLL_OK` then the connection has been - estabilished or the query results are available on the client. + established or the query results are available on the client. Otherwise wait until the file descriptor returned by `fileno()` is ready to read or to write, as explained in :ref:`async-support`. `poll()` should be also used by the function installed by diff --git a/doc/src/extensions.rst b/doc/src/extensions.rst index 9465789..569bfb3 100644 --- a/doc/src/extensions.rst +++ b/doc/src/extensions.rst @@ -25,7 +25,7 @@ functionalities defined by the |DBAPI|_. .. class:: cursor(conn, name=None) - It is the class usually returnded by the `connection.cursor()` + It is the class usually returned by the `connection.cursor()` method. It is exposed by the `extensions` module in order to allow subclassing to extend its behaviour: the subclass should be passed to the `!cursor()` method using the `cursor_factory` parameter. See @@ -427,7 +427,7 @@ The module exports a few exceptions in addition to the :ref:`standard ones (subclasses `~psycopg2.OperationalError`) - Error causing transaction rollback (deadlocks, serialisation failures, + Error causing transaction rollback (deadlocks, serialization failures, etc). It can be trapped specifically to detect a deadlock. .. versionadded:: 2.0.7 @@ -515,7 +515,7 @@ set to one of the following constants: :sql:`SERIALIZABLE` isolation level. This is the strictest transactions isolation level, equivalent to having the transactions executed serially rather than concurrently. However applications using this level must be - prepared to retry reansactions due to serialization failures. + prepared to retry transactions due to serialization failures. Starting from PostgreSQL 9.1, this mode monitors for conditions which could make execution of a concurrent set of serializable transactions diff --git a/doc/src/extras.rst b/doc/src/extras.rst index 2a82af8..0876759 100644 --- a/doc/src/extras.rst +++ b/doc/src/extras.rst @@ -41,7 +41,7 @@ If you want to use a `!connection` subclass you can pass it as the Dictionary-like cursor ^^^^^^^^^^^^^^^^^^^^^^ -The dict cursors allow to access to the retrieved records using an iterface +The dict cursors allow to access to the retrieved records using an interface similar to the Python dictionaries instead of the tuples. >>> dict_cur = conn.cursor(cursor_factory=psycopg2.extras.DictCursor) diff --git a/doc/src/faq.rst b/doc/src/faq.rst index 12aa99c..00f9be3 100644 --- a/doc/src/faq.rst +++ b/doc/src/faq.rst @@ -121,7 +121,7 @@ Psycopg converts :sql:`decimal`\/\ :sql:`numeric` database types into Python `!D psycopg2.extensions.register_type(DEC2FLOAT) See :ref:`type-casting-from-sql-to-python` to read the relevant - documentation. If you find `!psycopg2.extensions.DECIMAL` not avalable, use + documentation. If you find `!psycopg2.extensions.DECIMAL` not available, use `!psycopg2._psycopg.DECIMAL` instead. diff --git a/doc/src/usage.rst b/doc/src/usage.rst index f1f2a1a..53ca21c 100644 --- a/doc/src/usage.rst +++ b/doc/src/usage.rst @@ -311,7 +311,7 @@ converted into `!Decimal`. .. note:: Sometimes you may prefer to receive :sql:`numeric` data as `!float` - insted, for performance reason or ease of manipulation: you can configure + instead, for performance reason or ease of manipulation: you can configure an adapter to :ref:`cast PostgreSQL numeric to Python float <faq-float>`. This of course may imply a loss of precision. |
