New class syntax.

This commit is contained in:
Guido van Rossum 1991-12-26 13:05:52 +00:00
parent 470e7617a9
commit 1820010c1a
1 changed files with 1 additions and 1 deletions

View File

@ -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()
#