Add a default value to FunctionDefinition.body_type
This commit is contained in:
parent
f081d8a370
commit
318c6d6b83
@ -68,6 +68,9 @@ class FunctionDefinition(object):
|
|||||||
#: The function arguments (list of :class:`FunctionArgument`)
|
#: The function arguments (list of :class:`FunctionArgument`)
|
||||||
self.arguments = []
|
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
|
#: True if this function is exposed by a protocol and not in
|
||||||
#: the api tree, which means it is not part of the api.
|
#: the api tree, which means it is not part of the api.
|
||||||
self.protocol_specific = False
|
self.protocol_specific = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user