diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/intro.rst | 2 | ||||
| -rw-r--r-- | docs/tutorial.rst | 2 |
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. |
