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
As can be seen in the code snippet the existence of sys.ps1 and sys.ps2 is checked using try except blocks.
But in the second case with an unused local variable _ps2.
In order to enhance the code quality I propose to unify the approach and remove this _ps2 because it is never used.
Uh oh!
There was an error while loading. Please reload this page.
In file
Lib/code.py
between lines 220-231 we have:As can be seen in the code snippet the existence of
sys.ps1
andsys.ps2
is checked using try except blocks.But in the second case with an unused local variable
_ps2
.In order to enhance the code quality I propose to unify the approach and remove this
_ps2
because it is never used.Linked PRs
The text was updated successfully, but these errors were encountered: