diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2011-02-18 02:59:07 -0500 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2011-02-18 02:59:07 -0500 |
| commit | 52e307ea3518c42f6946bdf87be728b8bcb05a38 (patch) | |
| tree | e3bdbe6335706eaaa33204bcb3e23391ac221fb4 /tablib | |
| parent | 5cac9bd97e519a44b75217a82051f63a57a42a4c (diff) | |
| download | tablib-52e307ea3518c42f6946bdf87be728b8bcb05a38.tar.gz | |
Docstring update
Diffstat (limited to 'tablib')
| -rw-r--r-- | tablib/core.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tablib/core.py b/tablib/core.py index 7f2d604..66e85dc 100644 --- a/tablib/core.py +++ b/tablib/core.py @@ -305,11 +305,11 @@ class Dataset(object): headers = property(_get_headers, _set_headers) def _get_dict(self): - """A JSON representation of the :class:`Dataset` object. If headers have been - set, a JSON list of objects will be returned. If no headers have - been set, a JSON list of lists (rows) will be returned instead. + """A native Python representation of the :class:`Dataset` object. If headers have + been set, a list of Python dictionaries will be returned. If no headers have been set, + a list of tuples (rows) will be returned instead. - A dataset object can also be imported by setting the `Dataset.json` attribute: :: + A dataset object can also be imported by setting the `Dataset.dict` attribute: :: data = tablib.Dataset() data.json = '[{"last_name": "Adams","age": 90,"first_name": "John"}]' |
