[Core] Use keyword arguments in DocumentObjectPy addProperty

This commit is contained in:
Ajinkya Dahale
2023-08-21 22:45:45 +05:30
committed by Yorik van Havre
parent c95a99cd6f
commit 49dfaaefa0
2 changed files with 23 additions and 9 deletions

View File

@@ -13,12 +13,10 @@
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
<UserDocu>This is the father of all classes handled by the document</UserDocu>
</Documentation>
<Methode Name="addProperty">
<Methode Name="addProperty" Keyword="true">
<Documentation>
<UserDocu>
addProperty(string, string) -- Add a generic property.
The first argument specifies the type, the second the
name of the property.
addProperty(type: string, name: string, group="", doc="", attr=0, read_only=False, hidden=False, enum_vals=[]) -- Add a generic property.
</UserDocu>
</Documentation>
</Methode>