'Too many values to unpack' inspection is wrong in some SciPy functions
Answered
For example, this code
qn2, qw2 = sps.roots_legendre(2)
is highlighted by the PyCharm inspector.
However, this function with no kwargs returns only 2 values:
Please sign in to leave a comment.
Hi,
Could you please attach a screenshot showing the problem?
If possible, please provide a more complete sample code.
Hi, Sergey!
A MWE:
Thanks a lot!
I have filed an issue for you in our issue tracker about it https://youtrack.jetbrains.com/issue/PY-32519, please vote for it and follow for future updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.