From 4bf14ac4976ad7e81672caff8e2514c7ea1c7241 Mon Sep 17 00:00:00 2001 From: Zen-CODE Date: Sat, 24 May 2014 16:03:03 +0200 Subject: [PATCH] doc: examples made pep8 --- doc/sources/guide/widgets.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/sources/guide/widgets.rst b/doc/sources/guide/widgets.rst index 90957d0c3..103822d97 100644 --- a/doc/sources/guide/widgets.rst +++ b/doc/sources/guide/widgets.rst @@ -603,6 +603,7 @@ Then, when we put this snippet into a Kivy app:: class RootWidget(FloatLayout): pass + class MainApp(App): def build(self): @@ -667,16 +668,19 @@ We use this to display an animated background:: halign: 'justify' ''') + class CustomLayout(GridLayout): background_image = ObjectProperty( - Image( - source='../examples/widgets/sequenced_images/data/images/button_white_animated.zip', - anim_delay=.1)) + Image( + source='../examples/widgets/sequenced_images/data/images/button_white_animated.zip', + anim_delay=.1)) + class RootWidget(FloatLayout): pass + class MainApp(App): def build(self):