Commit 7a58a556 authored by Guido van Rossum's avatar Guido van Rossum

New class syntax.

parent 20332bdd
......@@ -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()
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment