From ad3f5f139ff1caefa963ee5c9d6b2541132a26f1 Mon Sep 17 00:00:00 2001 From: Gabriel Pettier Date: Thu, 8 Nov 2012 14:48:30 +0100 Subject: [PATCH] correct error in screenmanager docstring (sm->screen) --- kivy/uix/screenmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/uix/screenmanager.py b/kivy/uix/screenmanager.py index 7701c46fe..c5e0aad88 100644 --- a/kivy/uix/screenmanager.py +++ b/kivy/uix/screenmanager.py @@ -31,7 +31,7 @@ screen, you absolutely need to give a name to it:: # Add few screens for i in xrange(4): screen = Screen(name='Title %d' % i) - sm.add_widget(sm) + sm.add_widget(screen) # By default, the first screen added into the ScreenManager will be # displayed. Then, you can change to another screen: