diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2012-01-28 01:23:54 -0500 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2012-01-28 01:23:54 -0500 |
| commit | 6bfc6634bad3f8315f6c8ffacf3437c8129a4b62 (patch) | |
| tree | bdb8155c00fa313d6960cf4faf8e77574ba030cb | |
| parent | 54affad29205d8667b5ef58c50cad07f94fc9696 (diff) | |
| download | tablib-6bfc6634bad3f8315f6c8ffacf3437c8129a4b62.tar.gz | |
index update
| -rw-r--r-- | docs/index.rst | 4 |
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 |
