]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
New class syntax
authorGuido van Rossum <guido@python.org>
Mon, 30 Dec 1991 16:02:10 +0000 (16:02 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 30 Dec 1991 16:02:10 +0000 (16:02 +0000)
Lib/lib-stdwin/TextEdit.py
Lib/stdwin/TextEdit.py

index 5473f2b5a53b98375874cbe6eb32519c05faead0..540692ce2431498ba97d1c7cab9a3de77b7dc5e1 100644 (file)
@@ -5,7 +5,7 @@
 
 from stdwinevents import *
 
-class TextEdit():
+class TextEdit:
        #
        def create(self, (parent, (cols, rows))):
                parent.addchild(self)
index 5473f2b5a53b98375874cbe6eb32519c05faead0..540692ce2431498ba97d1c7cab9a3de77b7dc5e1 100755 (executable)
@@ -5,7 +5,7 @@
 
 from stdwinevents import *
 
-class TextEdit():
+class TextEdit:
        #
        def create(self, (parent, (cols, rows))):
                parent.addchild(self)