diff options
Diffstat (limited to 'pecan/jsonify.py')
-rw-r--r-- | pecan/jsonify.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pecan/jsonify.py b/pecan/jsonify.py index 7fbd492..5bd4c0f 100644 --- a/pecan/jsonify.py +++ b/pecan/jsonify.py @@ -66,8 +66,8 @@ class GenericJSON(JSONEncoder): the entire resultset data, returns the list in a dictionary along with the resultset "row" count. - .. note:: {'count': 5, 'rows': [(u'Ed Jones',), (u'Pete Jones',), - (u'Wendy Williams',), (u'Mary Contrary',), (u'Fred Smith',)]} + .. note:: {'count': 5, 'rows': [('Ed Jones',), ('Pete Jones',), + ('Wendy Williams',), ('Mary Contrary',), ('Fred Smith',)]} * SQLAlchemy RowProxy objects Casts the RowProxy cursor object into a dictionary, probably |