summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.org>2016-02-07 10:56:29 -0500
committerKenneth Reitz <me@kennethreitz.org>2016-02-07 10:56:29 -0500
commit039272b2744178cdc60f05cb994f5eafdb548ad2 (patch)
tree08bde2d91fd6437c29b69fecc401720e3521c168
parentd6a7832e6097d13b1d7d12b9fb3f1e1a09420f7e (diff)
downloadtablib-039272b2744178cdc60f05cb994f5eafdb548ad2.tar.gz
docs cleanupv0.11.0
-rw-r--r--docs/intro.rst2
-rw-r--r--docs/tutorial.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro.rst b/docs/intro.rst
index 78a6180..0977ecb 100644
--- a/docs/intro.rst
+++ b/docs/intro.rst
@@ -49,7 +49,7 @@ Tablib is released under terms of `The MIT License`_.
Tablib License
--------------
-Copyright 2011 Kenneth Reitz
+Copyright 2016 Kenneth Reitz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/docs/tutorial.rst b/docs/tutorial.rst
index 551b191..94de432 100644
--- a/docs/tutorial.rst
+++ b/docs/tutorial.rst
@@ -103,7 +103,7 @@ Importing Data
--------------
Creating a :class:`tablib.Dataset` object by importing a pre-existing file is simple. ::
- imported_data = tablib.import_set(open('data.csv').read())
+ imported_data = Dataset().load(open('data.csv').read())
This detects what sort of data is being passed in, and uses an appropriate formatter to do the import. So you can import from a variety of different file types.