pep8 compliance: E225 missing whitespace around operator

This commit is contained in:
David Sowder 2012-02-21 17:29:39 -06:00
parent d544e25ecf
commit 77aae4af1f

View File

@ -4,10 +4,10 @@ from pygame.locals import SRCALPHA
def frame_rect(surface, color, rect, thick=1):
o = 1
surface.fill(color, (rect.left+o, rect.top, rect.width-o-o, thick))
surface.fill(color, (rect.left+o, rect.bottom - thick, rect.width-o-o, thick))
surface.fill(color, (rect.left, rect.top+o, thick, rect.height-o-o))
surface.fill(color, (rect.right - thick, rect.top+o, thick, rect.height-o-o))
surface.fill(color, (rect.left + o, rect.top, rect.width - o - o, thick))
surface.fill(color, (rect.left + o, rect.bottom - thick, rect.width - o - o, thick))
surface.fill(color, (rect.left, rect.top + o, thick, rect.height - o - o))
surface.fill(color, (rect.right - thick, rect.top + o, thick, rect.height - o - o))
def blit_tinted(surface, image, pos, tint, src_rect=None):