New class syntax

This commit is contained in:
Guido van Rossum 1991-12-30 16:02:10 +00:00
parent 9b4e1b36f9
commit d404569b97
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
from stdwinevents import *
class TextEdit():
class TextEdit:
#
def create(self, (parent, (cols, rows))):
parent.addchild(self)

View File

@ -5,7 +5,7 @@
from stdwinevents import *
class TextEdit():
class TextEdit:
#
def create(self, (parent, (cols, rows))):
parent.addchild(self)