summaryrefslogtreecommitdiff
path: root/tablib/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'tablib/core.py')
-rw-r--r--tablib/core.py5
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."""