New class syntax
This commit is contained in:
parent
9b4e1b36f9
commit
d404569b97
|
@ -5,7 +5,7 @@
|
|||
|
||||
from stdwinevents import *
|
||||
|
||||
class TextEdit():
|
||||
class TextEdit:
|
||||
#
|
||||
def create(self, (parent, (cols, rows))):
|
||||
parent.addchild(self)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
from stdwinevents import *
|
||||
|
||||
class TextEdit():
|
||||
class TextEdit:
|
||||
#
|
||||
def create(self, (parent, (cols, rows))):
|
||||
parent.addchild(self)
|
||||
|
|
Loading…
Reference in New Issue