summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2010-09-20 21:37:08 -0400
committerKenneth Reitz <me@kennethreitz.com>2010-09-20 21:37:08 -0400
commitdd13744c9223ec34a0ad9df44f70a95cd8d21b31 (patch)
tree872dae5659c85118761fb22066d342a5a3019b8e
parent31e4c39762d9ddab781c55b1c23fc6a21a4c6a31 (diff)
downloadtablib-dd13744c9223ec34a0ad9df44f70a95cd8d21b31.tar.gz
Documentation update for properties.
-rw-r--r--README.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.rst b/README.rst
index 4fe26bd..6ef9c22 100644
--- a/README.rst
+++ b/README.rst
@@ -70,7 +70,7 @@ JSON!
+++++
::
- >>> print data.json()
+ >>> print data.json
[
{
"last_name": "Adams",
@@ -89,7 +89,7 @@ YAML!
+++++
::
- >>> print data.yaml()
+ >>> print data.yaml
- {age: 90, first_name: John, last_name: Adams}
- {age: 83, first_name: Henry, last_name: Ford}
@@ -97,7 +97,7 @@ CSV...
++++++
::
- >>> print data.csv()
+ >>> print data.csv
first_name,last_name,age
John,Adams,90
Henry,Ford,83
@@ -106,7 +106,7 @@ EXCEL!
++++++
::
- >>> data.xls('people.xls')
+ >>> open('people.xls', 'wb').write(data.xls)
It's that easy.