From 1820010c1a6e6338b8dd927364662aa99d18b1d4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 26 Dec 1991 13:05:52 +0000 Subject: New class syntax. --- Lib/persist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/persist.py b/Lib/persist.py index e503d95..065a3ea 100755 --- a/Lib/persist.py +++ b/Lib/persist.py @@ -148,7 +148,7 @@ def dumpstring(x, typedict, types, stack): # Function to dump type objects # typeswitch = {} -class some_class(): +class some_class: def method(self): pass some_instance = some_class() # -- cgit v0.12