fix lang documentation of Dynamic Classes, order and synthax

This commit is contained in:
tshirtman 2013-11-17 17:51:17 +01:00
parent d14956e69a
commit bb6923c5f1
1 changed files with 2 additions and 2 deletions

View File

@ -293,7 +293,7 @@ The syntax look like:
... ...
# Multiple inheritance # Multiple inheritance
<NewWidget@Label,ButtonBehavior>: <NewWidget@ButtonBehavior+Label>:
... ...
The `@` character is used to seperate the name from the classes you want to 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 pass
# Multiple inheritance # Multiple inheritance
class NewWidget(Label, ButtonBehavior): class NewWidget(ButtonBehavior, Label):
pass pass
Any new properties, usually added in python code, should be declared first. Any new properties, usually added in python code, should be declared first.