summaryrefslogtreecommitdiff
path: root/lib/extras.py
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2005-03-01 16:41:02 +0000
committerFederico Di Gregorio <fog@initd.org>2005-03-01 16:41:02 +0000
commite5f558a6be623ab09f3517a0ff03f94610d18c0e (patch)
treefe015778906681a05cf26e3bb0509ed86459acbe /lib/extras.py
parent3141770f5332008165ea5f74057a9932454bf655 (diff)
downloadpsycopg2-e5f558a6be623ab09f3517a0ff03f94610d18c0e.tar.gz
COPY FROM works.
Diffstat (limited to 'lib/extras.py')
-rw-r--r--lib/extras.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/extras.py b/lib/extras.py
index 1d523d9..2357447 100644
--- a/lib/extras.py
+++ b/lib/extras.py
@@ -57,6 +57,7 @@ class DictCursor(_cursor):
self._build_index()
return res
+
class DictRow(list):
"""A row object that allow by-colun-name access to data."""