diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-02-03 12:07:43 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 12:16:40 +0000 |
commit | 3b6ab095862367bc0101b995b002f62e7968ccf3 (patch) | |
tree | d963e53c8387c55245e942cf0d6f9d74420e4498 /doc | |
parent | 665d655f436f1a353f5fe467c5d97588f7b121c5 (diff) | |
download | bitbake-3b6ab095862367bc0101b995b002f62e7968ccf3.tar.gz |
user-manual-metadata.xml: Edits to "Defining Pure Python Functions"
Made a review edit here to the section per Paul Eggleton.
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user-manual/user-manual-metadata.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/user-manual/user-manual-metadata.xml b/doc/user-manual/user-manual-metadata.xml index fb4bf4044..05cb9850c 100644 --- a/doc/user-manual/user-manual-metadata.xml +++ b/doc/user-manual/user-manual-metadata.xml @@ -537,7 +537,10 @@ </note> <para> - Python functions should use unique names. + For utility functions that you intend to call from + in-line Python or other Python functions, BitBake allows + you to define these as pure Python functions. + Here is an example: <literallayout class='monospaced'> def get_depends(d): if d.getVar('SOMECONDITION', True): |