diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2013-04-07 15:19:15 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2013-04-07 16:05:36 +0100 |
commit | 884a7f7db67e96f4972cbba8082ec4db9393f684 (patch) | |
tree | abaefd50d8cbcaa395d9514b571c10cee13af77a /lib/_range.py | |
parent | 2b554937f289ec122010c8cd2596f9e800cc37a2 (diff) | |
download | psycopg2-884a7f7db67e96f4972cbba8082ec4db9393f684.tar.gz |
A couple of typos fixed
Diffstat (limited to 'lib/_range.py')
-rw-r--r-- | lib/_range.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_range.py b/lib/_range.py index 1fcd857..25600d8 100644 --- a/lib/_range.py +++ b/lib/_range.py @@ -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. |