summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2010-11-09 08:43:34 -0500
committerKenneth Reitz <me@kennethreitz.com>2010-11-09 08:43:34 -0500
commit5fad80a540d95c7ba5e7dfa55f885509c992736b (patch)
tree97cbaf93772c10f57cacc2fb920b25ab2ec1955a /docs
parentcabab73045943f28a230bfa74ff270fbebf083c2 (diff)
downloadtablib-5fad80a540d95c7ba5e7dfa55f885509c992736b.tar.gz
Update column append examples.
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorial.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial.rst b/docs/tutorial.rst
index 774158d..d89c8c1 100644
--- a/docs/tutorial.rst
+++ b/docs/tutorial.rst
@@ -87,7 +87,7 @@ Adding Columns
Now that we have a basic :class:`Dataset` in place, let's add a column of **ages** to it. ::
- data.append(col=['Age', 22, 20])
+ data.append(col=[22, 20], header='Age')
Let's view the data now. ::
@@ -350,4 +350,4 @@ The resulting **tests.xls** will have the following layout:
----
-Now, go check out the :ref:`API Documentation <api>` or begin :ref:`Tablib Development <development>`. \ No newline at end of file
+Now, go check out the :ref:`API Documentation <api>` or begin :ref:`Tablib Development <development>`.