Commit d94ec72c authored by Guido van Rossum's avatar Guido van Rossum

New class syntax

parent 74e6ca3b
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
from stdwinevents import * from stdwinevents import *
class TextEdit(): class TextEdit:
# #
def create(self, (parent, (cols, rows))): def create(self, (parent, (cols, rows))):
parent.addchild(self) parent.addchild(self)
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
from stdwinevents import * from stdwinevents import *
class TextEdit(): class TextEdit:
# #
def create(self, (parent, (cols, rows))): def create(self, (parent, (cols, rows))):
parent.addchild(self) parent.addchild(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment