pep8 compliance: E302 expected 2 blank lines

This commit is contained in:
David Sowder 2012-02-21 17:19:07 -06:00
parent db34ae1c09
commit 5df9f0ac95

View File

@ -19,6 +19,7 @@ debug_tab = True
root_widget = None
current_cursor = None
def overridable_property(name, doc=None):
"""Creates a property which calls methods get_xxx and set_xxx of
the underlying object to get and set the property value, so that
@ -32,6 +33,7 @@ def overridable_property(name, doc=None):
None,
doc)
def rect_property(name):
def get(self):
return getattr(self._rect, name)
@ -45,6 +47,8 @@ def rect_property(name):
return property(get, set)
#noinspection PyPropertyAccess
class Widget(object):
# rect Rect bounds in parent's coordinates
# parent Widget containing widget