From bb6923c5f14c314b141dad1154dbe2075c4465eb Mon Sep 17 00:00:00 2001 From: tshirtman Date: Sun, 17 Nov 2013 17:51:17 +0100 Subject: [PATCH] fix lang documentation of Dynamic Classes, order and synthax --- kivy/lang.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kivy/lang.py b/kivy/lang.py index 7269111b3..bd837768c 100755 --- a/kivy/lang.py +++ b/kivy/lang.py @@ -293,7 +293,7 @@ The syntax look like: ... # Multiple inheritance - : + : ... The `@` character is used to seperate the name from the classes you want to @@ -306,7 +306,7 @@ subclass. The Python equivalent would have been: pass # Multiple inheritance - class NewWidget(Label, ButtonBehavior): + class NewWidget(ButtonBehavior, Label): pass Any new properties, usually added in python code, should be declared first.