git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge from trunk
[plcapi.git]
/
doc
/
DocBookLocal.py
diff --git
a/doc/DocBookLocal.py
b/doc/DocBookLocal.py
index
4a029d2
..
a01ad6c
100644
(file)
--- a/
doc/DocBookLocal.py
+++ b/
doc/DocBookLocal.py
@@
-1,7
+1,8
@@
from PLC.API import PLCAPI
from PLC.API import PLCAPI
-
-def get_func_list():
+def get_func_list(methods = None):
api = PLCAPI(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]