Remove spurious whitespace from sources.
This commit is contained in:
parent
9c37665f00
commit
6a621af4d7
1 changed files with 7 additions and 7 deletions
|
|
@ -957,12 +957,12 @@ def get_input(caller, prompt, callback, session=None, *args, **kwargs):
|
||||||
greater than 2. The session is then updated by the
|
greater than 2. The session is then updated by the
|
||||||
command and is available (for example in callbacks)
|
command and is available (for example in callbacks)
|
||||||
through `caller.ndb.getinput._session`.
|
through `caller.ndb.getinput._session`.
|
||||||
*args, **kwargs (optional): Extra arguments will be
|
*args, **kwargs (optional): Extra arguments will be
|
||||||
passed to the fall back function as a list 'args'
|
passed to the fall back function as a list 'args'
|
||||||
and all keyword arguments as a dictionary 'kwargs'.
|
and all keyword arguments as a dictionary 'kwargs'.
|
||||||
To utilise *args and **kwargs, a value for the
|
To utilise *args and **kwargs, a value for the
|
||||||
session argument must be provided (None by default)
|
session argument must be provided (None by default)
|
||||||
and the callback function must take *args and
|
and the callback function must take *args and
|
||||||
**kwargs as arguments.
|
**kwargs as arguments.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
|
|
@ -982,11 +982,11 @@ def get_input(caller, prompt, callback, session=None, *args, **kwargs):
|
||||||
may not be easy to get if caller is a player in higher
|
may not be easy to get if caller is a player in higher
|
||||||
multisession modes), then it is available in the
|
multisession modes), then it is available in the
|
||||||
callback through `caller.ndb._getinput._session`.
|
callback through `caller.ndb._getinput._session`.
|
||||||
|
|
||||||
Chaining get_input functions will result in the caller
|
Chaining get_input functions will result in the caller
|
||||||
stacking ever more instances of InputCmdSets. Whilst
|
stacking ever more instances of InputCmdSets. Whilst
|
||||||
they will all be cleared on concluding the get_input
|
they will all be cleared on concluding the get_input
|
||||||
chain, EvMenu should be considered for anything beyond
|
chain, EvMenu should be considered for anything beyond
|
||||||
a single question.
|
a single question.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue