Add the LAYER attribute to each constructor

This commit is contained in:
Dan 2019-05-29 13:11:48 +02:00
parent 79ab70557f
commit 08d120be74

View File

@ -333,6 +333,7 @@ def start():
docstring_args = "No parameters required." docstring_args = "No parameters required."
docstring_args = "Attributes:\n ID: ``{}``\n\n ".format(c.id) + docstring_args docstring_args = "Attributes:\n ID: ``{}``\n\n ".format(c.id) + docstring_args
docstring_args = "Attributes:\n LAYER: ``{}``\n\n ".format(layer) + docstring_args
if c.section == "functions": if c.section == "functions":
docstring_args += "\n\n Returns:\n " + get_docstring_arg_type(c.return_type) docstring_args += "\n\n Returns:\n " + get_docstring_arg_type(c.return_type)