diff options
| author | Daniel Harms <jdharms@gmail.com> | 2015-11-10 14:15:37 -0500 |
|---|---|---|
| committer | Daniel Harms <jdharms@gmail.com> | 2015-11-10 14:15:37 -0500 |
| commit | 65703550c35d04c991c70b2f0576cf4575e4055e (patch) | |
| tree | 8c942026b1e08fed454b39181de95a4b085ea4d2 | |
| parent | a785d77901f307ef499621753b078743e2fabb81 (diff) | |
| download | tablib-65703550c35d04c991c70b2f0576cf4575e4055e.tar.gz | |
Small documentation fix in Dataset class
| -rw-r--r-- | tablib/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tablib/core.py b/tablib/core.py index 7afdd71..1571b5e 100644 --- a/tablib/core.py +++ b/tablib/core.py @@ -349,7 +349,7 @@ class Dataset(object): 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"}]' + data.dict = [{'age': 90, 'first_name': 'Kenneth', 'last_name': 'Reitz'}] """ return self._package() |
