mirror of https://github.com/kivy/kivy.git
fix quickstart code example
This commit is contained in:
parent
8dc4e9fba2
commit
b16206d2f5
|
@ -21,10 +21,9 @@ The base code for creating an application looks like this:
|
|||
|
||||
class MyApp(App):
|
||||
def build(self):
|
||||
return Button(label='Hello World')
|
||||
return Button(text='Hello World')
|
||||
|
||||
if __name__ == '__main__':
|
||||
MyApp().run()
|
||||
MyApp().run()
|
||||
|
||||
Save it as `myapp.py` and run it with your Python interpreter ::
|
||||
|
||||
|
|
Loading…
Reference in New Issue