summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-12-30 16:02:10 (GMT)
committerGuido van Rossum <guido@python.org>1991-12-30 16:02:10 (GMT)
commitd404569b97acd4f55e3f3d0b59c50ed357eb123c (patch)
treedc23ade57819a6fb189ccc97cbad802ad7ff44a0 /Lib
parent9b4e1b36f9a083424d7dd1afc54d46126120b3ea (diff)
downloadcpython-d404569b97acd4f55e3f3d0b59c50ed357eb123c.zip
cpython-d404569b97acd4f55e3f3d0b59c50ed357eb123c.tar.gz
cpython-d404569b97acd4f55e3f3d0b59c50ed357eb123c.tar.bz2
New class syntax
Diffstat (limited to 'Lib')
-rw-r--r--Lib/lib-stdwin/TextEdit.py2
-rwxr-xr-xLib/stdwin/TextEdit.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-stdwin/TextEdit.py b/Lib/lib-stdwin/TextEdit.py
index 5473f2b..540692c 100644
--- a/Lib/lib-stdwin/TextEdit.py
+++ b/Lib/lib-stdwin/TextEdit.py
@@ -5,7 +5,7 @@
from stdwinevents import *
-class TextEdit():
+class TextEdit:
#
def create(self, (parent, (cols, rows))):
parent.addchild(self)
diff --git a/Lib/stdwin/TextEdit.py b/Lib/stdwin/TextEdit.py
index 5473f2b..540692c 100755
--- a/Lib/stdwin/TextEdit.py
+++ b/Lib/stdwin/TextEdit.py
@@ -5,7 +5,7 @@
from stdwinevents import *
-class TextEdit():
+class TextEdit:
#
def create(self, (parent, (cols, rows))):
parent.addchild(self)