Merge from trunk
[plcapi.git] / doc / DocBookLocal.py
index 4a029d2..a01ad6c 100644 (file)
@@ -1,7 +1,8 @@
 
 from PLC.API import PLCAPI
 
-
-def get_func_list():
+def get_func_list(methods = None):
        api = PLCAPI(None)
-       return [api.callable(method) for method in api.methods]
+       if not methods:
+           methods = api.methods
+       return [api.callable(method) for method in methods]