diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2012-09-23 21:11:06 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2012-09-23 21:11:06 +0100 |
commit | 94c6353d552208b1c7638f393a3ed28e1eb1b968 (patch) | |
tree | 5c7d4e2e2d71142e730582e22d54ab840956eb5d /lib/extras.py | |
parent | 45cbcc0713ae8396aed3cf88851b5eaa18551974 (diff) | |
download | psycopg2-94c6353d552208b1c7638f393a3ed28e1eb1b968.tar.gz |
NumberRange renamed to NumericRange
I was avoiding Numeric to avoid conflicting with the 'numeric'
Postgres type, which is an alias for 'decimal'. But now that there
is a single numeric range I can use the preferred name
Diffstat (limited to 'lib/extras.py')
-rw-r--r-- | lib/extras.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extras.py b/lib/extras.py index 689e47b..349aba9 100644 --- a/lib/extras.py +++ b/lib/extras.py @@ -968,7 +968,7 @@ def register_composite(name, conn_or_curs, globally=False): # Expose range-related objects -from psycopg2._range import Range, NumberRange +from psycopg2._range import Range, NumericRange from psycopg2._range import DateRange, DateTimeRange, DateTimeTZRange from psycopg2._range import register_range, RangeAdapter, RangeCaster |