From: Joe Wreschnig Date: Fri, 23 Apr 2010 08:57:40 +0000 (-0700) Subject: Bullet.__repr__: Fix format string. X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=commitdiff_plain;h=4c9526a453f57e54c603dcad10d2346d06b69fe4;ds=sidebyside Bullet.__repr__: Fix format string. --- diff --git a/bulletml/impl.py b/bulletml/impl.py index 8ef78ab..f7edd5a 100644 --- a/bulletml/impl.py +++ b/bulletml/impl.py @@ -166,7 +166,7 @@ class Bullet(object): def __repr__(self): return ("%s(%r, %r, accel=%r, direction=%r, speed=%r, " - "actions=%r, target=%r, appearance=vanished=%r)") % ( + "actions=%r, target=%r, appearance=%r, vanished=%r)") % ( type(self).__name__, self.x, self.y, (self.mx, self.my), self.direction, self.speed, self.actions, self.target, self.appearance, self.vanished)