A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tiny improvement to find-missing: document missing enumvalues
[simgrid.git]
/
docs
/
find-missing.py
diff --git
a/docs/find-missing.py
b/docs/find-missing.py
index
7d370d5
..
d9d3849
100755
(executable)
--- a/
docs/find-missing.py
+++ b/
docs/find-missing.py
@@
-100,8
+100,11
@@
def handle_python_module(fullname, englobing, elm):
continue
# print("Recurse on {}.{}".format(fullname, name))
handle_python_module("{}.{}".format(fullname, name), elm, data)
continue
# print("Recurse on {}.{}".format(fullname, name))
handle_python_module("{}.{}".format(fullname, name), elm, data)
+ elif inspect.isclass(type(elm)):
+ found_decl("enumvalue", fullname)
+ print('.. autoenumvalue:: {}'.format(fullname))
else:
else:
- print('UNHANDLED TYPE {} : {!r} Type: {}
'.format(fullname, elm, type
(elm)))
+ print('UNHANDLED TYPE {} : {!r} Type: {}
Englobing: {} str: {} Members: \n{}\n'.format(fullname, elm, type(elm), englobing, str(elm), inspect.getmembers
(elm)))
# Start the recursion on the provided Python modules
for name in python_modules:
# Start the recursion on the provided Python modules
for name in python_modules: