summaryrefslogtreecommitdiff
path: root/tablib/core.py
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.org>2016-01-27 17:17:38 -0500
committerKenneth Reitz <me@kennethreitz.org>2016-01-27 17:17:38 -0500
commit6f53c5d2b97e020fd059f10c16359248353164bf (patch)
tree7c3fde3be4a9224a824823200ee385f6241ae7aa /tablib/core.py
parent90ee799576995ed4c43561faf4041add6bf111be (diff)
parent65703550c35d04c991c70b2f0576cf4575e4055e (diff)
downloadtablib-6f53c5d2b97e020fd059f10c16359248353164bf.tar.gz
Merge pull request #209 from jdharms/develop
Small documentation fix in Dataset class
Diffstat (limited to 'tablib/core.py')
-rw-r--r--tablib/core.py2
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()