Kaydet (Commit) d404569b authored tarafından Guido van Rossum's avatar Guido van Rossum

New class syntax

üst 9b4e1b36
...@@ -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