A couple of typos fixed

This commit is contained in:
Daniele Varrazzo 2013-04-07 15:19:15 +01:00
parent 2b554937f2
commit 884a7f7db6
2 changed files with 2 additions and 2 deletions

View File

@ -509,7 +509,7 @@ The ``connection`` class
.. attribute:: cursor_factory
The default cursor factory used by `~connection.cursor()` if the
parameter is no specified.
parameter is not specified.
.. versionadded:: 2.5

View File

@ -159,7 +159,7 @@ def register_range(pgrange, pyrange, conn_or_curs, globally=False):
of the returned `RangeCaster` object.
The function queries the database on *conn_or_curs* to inspect the
*pgrange* type. Raise `~psycopg2.ProgrammingError` if the type is not
*pgrange* type and raises `~psycopg2.ProgrammingError` if the type is not
found. If querying the database is not advisable, use directly the
`RangeCaster` class and register the adapter and typecasters using the
provided functions.