diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2010-09-25 15:50:06 -0400 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2010-09-25 15:50:06 -0400 |
| commit | f1bdf43aab2e6c6a2641fd52086918e3fa0e5b42 (patch) | |
| tree | 73b91a9cd6f3b7f429075bd2eefe99e3bde73aea /tablib/core.py | |
| parent | 7623bfe7b09817b3d64e234d630c225b5b3d0bba (diff) | |
| download | tablib-f1bdf43aab2e6c6a2641fd52086918e3fa0e5b42.tar.gz | |
Book wiper.
Diffstat (limited to 'tablib/core.py')
| -rw-r--r-- | tablib/core.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tablib/core.py b/tablib/core.py index 9500d20..849e4bc 100644 --- a/tablib/core.py +++ b/tablib/core.py @@ -232,7 +232,10 @@ class Databook(object): except AttributeError: return '<databook object>' - + def wipe(self): + """Wipe book clean.""" + self._datasets = [] + @classmethod def _register_formats(cls): """Adds format properties.""" |
