style(examples) fix style issues in Python examples (#2880)

Removes all semicolons at line endings in the Python examples.
This commit is contained in:
ckielstra
2021-12-05 14:41:17 +01:00
committed by GitHub
parent 0b91b6c42f
commit a5058eafd0
47 changed files with 85 additions and 99 deletions

View File

@@ -11,11 +11,11 @@ class Event_1():
btn.add_event_cb(self.event_cb, lv.EVENT.CLICKED, None)
label = lv.label(btn)
label.set_text("Click me!");
label.set_text("Click me!")
label.center()
def event_cb(self,e):
print("Clicked");
print("Clicked")
btn = e.get_target()
label = btn.get_child(0)