Add a default value to FunctionDefinition.body_type

This commit is contained in:
Christophe de Vienne 2012-10-15 14:29:56 +02:00
parent f081d8a370
commit 318c6d6b83

View File

@ -68,6 +68,9 @@ class FunctionDefinition(object):
#: The function arguments (list of :class:`FunctionArgument`)
self.arguments = []
#: If the body carry the datas of a single argument, its type
self.body_type = None
#: True if this function is exposed by a protocol and not in
#: the api tree, which means it is not part of the api.
self.protocol_specific = False