bitbake/lib/bb/methodpool.py:
authorHolger Hans Peter Freyther <zecke@selfish.org>
Fri, 14 Apr 2006 22:47:55 +0000 (22:47 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Fri, 14 Apr 2006 22:47:55 +0000 (22:47 +0000)
     -Document the usage of the three variables

lib/bb/methodpool.py

index 67cb626..595825b 100644 (file)
@@ -63,6 +63,11 @@ def check_insert_method(modulename, code, fn):
     """
     Add the code if it wasnt added before. The module
     name will be used for that 
+
+    Variables:
+        @modulename a short name e.g. base.bbclass
+        @code The actual python code
+        @fn   The filename from the outer file
     """
     if not modulename in _parsed_methods:
         return insert_method(modulename, code, fn)