mirror of https://github.com/python/cpython
New class syntax.
This commit is contained in:
parent
470e7617a9
commit
1820010c1a
|
@ -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()
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue