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]
/
trunk
/
doc
/
DocBookLocal.py
diff --git a/trunk/doc/DocBookLocal.py
b/trunk/doc/DocBookLocal.py
new file mode 100644
(file)
index 0000000..
a01ad6c
--- /dev/null
+++ b/
trunk/doc/DocBookLocal.py
@@ -0,0
+1,8
@@
+
+from PLC.API import PLCAPI
+
+def get_func_list(methods = None):
+ api = PLCAPI(None)
+ if not methods:
+ methods = api.methods
+ return [api.callable(method) for method in methods]