summaryrefslogtreecommitdiffstats
path: root/lib/bb/data.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-03-24 17:05:38 -0700
committerChris Larson <chris_larson@mentor.com>2010-04-09 19:38:54 -0700
commit20b6f2d1d2d4541e612e8cffbdf1ca4822a3e394 (patch)
tree343c58837ca3546848519bb9b058e1253840e927 /lib/bb/data.py
parentb4983cc7bfe5300c1d2904f34fb03d4fb2f41d90 (diff)
downloadbitbake-20b6f2d1d2d4541e612e8cffbdf1ca4822a3e394.tar.gz
Add some missing docstrings
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/data.py')
-rw-r--r--lib/bb/data.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/data.py b/lib/bb/data.py
index 554532841..e11fe9833 100644
--- a/lib/bb/data.py
+++ b/lib/bb/data.py
@@ -50,9 +50,12 @@ import bb
_dict_type = data_smart.DataSmart
def init():
+ """Return a new object representing the Bitbake data"""
return _dict_type()
def init_db(parent = None):
+ """Return a new object representing the Bitbake data,
+ optionally based on an existing object"""
if parent:
return parent.createCopy()
else: