summaryrefslogtreecommitdiff
path: root/lib/_range.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2013-04-07 15:19:15 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2013-04-07 16:05:36 +0100
commit884a7f7db67e96f4972cbba8082ec4db9393f684 (patch)
treeabaefd50d8cbcaa395d9514b571c10cee13af77a /lib/_range.py
parent2b554937f289ec122010c8cd2596f9e800cc37a2 (diff)
downloadpsycopg2-884a7f7db67e96f4972cbba8082ec4db9393f684.tar.gz
A couple of typos fixed
Diffstat (limited to 'lib/_range.py')
-rw-r--r--lib/_range.py2
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.