Update docs on dynamic/persistence of commands. Resolves #1444
This commit is contained in:
parent
fccb128952
commit
ee5f4044e8
1 changed files with 4 additions and 1 deletions
|
|
@ -24,7 +24,10 @@ def _init_command(cls, **kwargs):
|
||||||
and (optionally) at instantiation time.
|
and (optionally) at instantiation time.
|
||||||
|
|
||||||
If kwargs are given, these are set as instance-specific properties
|
If kwargs are given, these are set as instance-specific properties
|
||||||
on the command.
|
on the command - but note that the Command instance is *re-used* on a given
|
||||||
|
host object, so a kwarg value set on the instance will *remain* on the instance
|
||||||
|
for subsequent uses of that Command on that particular object.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
for i in range(len(kwargs)):
|
for i in range(len(kwargs)):
|
||||||
# used for dynamic creation of commands
|
# used for dynamic creation of commands
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue