Repository navigation
Remove unnecessary slot wrapper addition - #2879
Conversation
|
Once this is successful, I think we also can remove the if statement in |
I understood the code you mean is below line. Sadly, when I remove the line, I met Line 392 in 61bae9a |
|
Yes. actually I expected the same thing for this patch itself also ;) I don't know well the detail - so this is a rough guess. I think that line is added as a lazy workaround about double calling the method, mostly not by intension. Because you already removed the unnessessary duplicated call of the function. Maybe there will be another way to remove another duplicated call of it. (note: I am not meaning that work needs to be included in this patch) |
This pull request resolves #2869.
Before (RustPython)
After (RustPython)