summaryrefslogtreecommitdiff
path: root/docs/index.rst
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2012-01-28 01:23:54 -0500
committerKenneth Reitz <me@kennethreitz.com>2012-01-28 01:23:54 -0500
commit6bfc6634bad3f8315f6c8ffacf3437c8129a4b62 (patch)
treebdb8155c00fa313d6960cf4faf8e77574ba030cb /docs/index.rst
parent54affad29205d8667b5ef58c50cad07f94fc9696 (diff)
downloadtablib-6bfc6634bad3f8315f6c8ffacf3437c8129a4b62.tar.gz
index update
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/index.rst b/docs/index.rst
index e0e4166..d010df5 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -27,7 +27,7 @@ Tablib is an :ref:`MIT Licensed <mit>` format-agnostic tabular dataset library,
::
>>> data = tablib.Dataset(headers=['First Name', 'Last Name', 'Age'])
- >>> map(data.append, [('Kenneth', 'Reitz', 22), ('Bessie', 'Monke', 21)])
+ >>> data.extend([('Kenneth', 'Reitz', 23), ('Bessie', 'Monke', 22)])
>>> data.json
[{"Last Name": "Reitz", "First Name": "Kenneth", "Age": 22}, {"Last Name": "Monke", "First Name": "Bessie", "Age": 21}]
@@ -99,4 +99,4 @@ method, this part of the documentation is for you.
.. toctree::
:maxdepth: 2
- api \ No newline at end of file
+ api