summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-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