s += "\n"
with indent:
with indent:
s += ",\n".join(indent(a.arg) for a in six.itervalues(self.arguments))
s += "\n"
else:
s += ", ".join(indent(a.arg) for a in six.itervalues(self.arguments))
s += "]\n"
// return value
s += "{0:}.{1.name:}.restype = {2:}\n".format( // pylint: disable=missing-format-attribute
cdll_name, self, self.return_value.arg)
return s
@property
def docstring(self):
Generates a docstring.
After Change
else:
lines.append("{0}.{1}.restype = None".format(cdll_name, self.name))
lines.append("") // Force a newline after the declaration.
return "\n".join(lines)
@property
def docstring(self):
Generates a docstring.