Open nikfilippas opened 2 years ago
@ccordoba12 just pinging you in case you might have missed it, seeing as this is the oldest issue that has no replies and no badges.
Hi @nikfilippas thank you for the feedback! I was able to reproduce this. We will check into this in a future release :+1:
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
functools.wraps
updates some of the wrapped function's magic functions so that the new function preserves the name, docstrings, and signature of the old function. It looks like the "Helper" pane does not pick up the wrapped function's updated singature and just shows it as(*args, **kwargs)
. However, runninghelp(new_function)
on the console shows the correct signature. All other related attributes work as expected.What steps reproduce the problem?
functools.wraps
.This can be quickly checked using the following code:
What is the expected output? What do you see instead?
On the console,
help(bar)
prints:which is the expected output, but the Helper pane shows the wrong signature:
Versions
Dependencies