-
-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix (F)Rect.scale_by(_ip)
handling of the scale_by
parameter
#3078
Conversation
scale_by(_ip)
argument handling(F)Rect.scale_by(_ip)
handling of the scale_by
parameter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, LGTM 👍
scale_by
was incorrectly returning a valid object even when the underlyingscale_by_ip
operation was failing. This PR fixes this and also the memleak resulting from it.scale_by
argument was keyword only so far, and the docs didn't make a mention of this. So I updated the implementation to handle a sequence scale if it is passed positionally