mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-16 17:10:32 +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
|
.. attribute:: cursor_factory
|
||||||
|
|
||||||
The default cursor factory used by `~connection.cursor()` if the
|
The default cursor factory used by `~connection.cursor()` if the
|
||||||
parameter is no specified.
|
parameter is not specified.
|
||||||
|
|
||||||
.. versionadded:: 2.5
|
.. versionadded:: 2.5
|
||||||
|
|
||||||
|
|
|
@ -159,7 +159,7 @@ def register_range(pgrange, pyrange, conn_or_curs, globally=False):
|
||||||
of the returned `RangeCaster` object.
|
of the returned `RangeCaster` object.
|
||||||
|
|
||||||
The function queries the database on *conn_or_curs* to inspect the
|
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
|
found. If querying the database is not advisable, use directly the
|
||||||
`RangeCaster` class and register the adapter and typecasters using the
|
`RangeCaster` class and register the adapter and typecasters using the
|
||||||
provided functions.
|
provided functions.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user