[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Advantage of rect.move vs rect.move_ip



As I understand, rect.move() creates a new rect, most likely leaving
the old one up for grab for garbage collection, while rect.move_ip()
moves the existing rect.

At first glance, it would appear that rect.move_ip() should be the
preferred choice, but perhaps I am missing something.

Any comments?

André