diff --git a/src/dynamic_graph/entity.py b/src/dynamic_graph/entity.py index 6d49da3a5d346f6bce9375aeb521dff74db0b0aa..648e96319f416aa20e02ccb0d75bc00a431ecc41 100644 --- a/src/dynamic_graph/entity.py +++ b/src/dynamic_graph/entity.py @@ -128,6 +128,10 @@ class Entity (object) : """ Print a short description of each command. """ + if self.__doc__ : + print self.__doc__ + print "List of commands:" + print "-----------------" for cstr in self.commands(): ctitle=cstr+':' for i in range(len(cstr),15):