Update spawn doc to better explain protparents kwarg (see #1775)
This commit is contained in:
parent
992c993350
commit
c121f4915e
1 changed files with 4 additions and 2 deletions
|
|
@ -673,8 +673,10 @@ def spawn(*prototypes, **kwargs):
|
||||||
prototype_parents (dict): A dictionary holding a custom
|
prototype_parents (dict): A dictionary holding a custom
|
||||||
prototype-parent dictionary. Will overload same-named
|
prototype-parent dictionary. Will overload same-named
|
||||||
prototypes from prototype_modules.
|
prototypes from prototype_modules.
|
||||||
return_parents (bool): Only return a dict of the
|
return_parents (bool): Return a dict of the entire prototype-parent tree
|
||||||
prototype-parents (no object creation happens)
|
available to this prototype (no object creation happens). This is a
|
||||||
|
merged result between the globally found protparents and whatever
|
||||||
|
custom `prototype_parents` are given to this function.
|
||||||
only_validate (bool): Only run validation of prototype/parents
|
only_validate (bool): Only run validation of prototype/parents
|
||||||
(no object creation) and return the create-kwargs.
|
(no object creation) and return the create-kwargs.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue