mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
A couple of typos fixed
This commit is contained in:
parent
2b554937f2
commit
884a7f7db6
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user