From: Chris Larson Date: Thu, 25 Mar 2010 00:05:38 +0000 (-0700) Subject: Add some missing docstrings X-Git-Tag: 2011-1~5530 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=cf58d41af881e64cef0c3cba2eaabf0ea71cc97b;p=openembedded-core.git Add some missing docstrings (Bitbake rev: 20b6f2d1d2d4541e612e8cffbdf1ca4822a3e394) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index 554532841a..e11fe9833e 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/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: