You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS and version: Windows 7 (Windows_NT x64 6.1.7601)
Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.7
Expected behaviour
When defining a nested function that will be returned to the user, a docstring popup is provided in the code editor/completion when directly calling the returned function after calling top level function.
Actual behaviour
When defining a nested function that will be returned to the user, NO docstring popup is provided in the code editor/completion when directly calling the returned function after calling top level function.
(See code snippet example underneath)
But if you do it like this it works:
Code Snippet / Additional information
deffoo(template_var: int):
"""Some function description. Parameters ---------- template_var : int Some template variable. """defbar(input_var: int) ->int:
"""Some templated function description. Parameters ---------- input_var : int Some input variable. Returns ------- int Output value. """returntemplate_var+input_varreturnbar# Yields no docstring popupfoo(5)(5)
# But if you store the result into a var...a=foo(5)
# it does show upa(5)
The text was updated successfully, but these errors were encountered:
Environment data
Expected behaviour
When defining a nested function that will be returned to the user, a docstring popup is provided in the code editor/completion when directly calling the returned function after calling top level function.
Actual behaviour
When defining a nested function that will be returned to the user, NO docstring popup is provided in the code editor/completion when directly calling the returned function after calling top level function.
(See code snippet example underneath)
But if you do it like this it works:
Code Snippet / Additional information
The text was updated successfully, but these errors were encountered: