summaryrefslogtreecommitdiffstats
path: root/Lib/persist.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-12-26 13:05:52 (GMT)
committerGuido van Rossum <guido@python.org>1991-12-26 13:05:52 (GMT)
commit1820010c1a6e6338b8dd927364662aa99d18b1d4 (patch)
tree2b3e41a5b94762484a096f8afafddb323b7038c4 /Lib/persist.py
parent470e7617a999b4ed1ac0118798a07fe7a5ff883c (diff)
downloadcpython-1820010c1a6e6338b8dd927364662aa99d18b1d4.zip
cpython-1820010c1a6e6338b8dd927364662aa99d18b1d4.tar.gz
cpython-1820010c1a6e6338b8dd927364662aa99d18b1d4.tar.bz2
New class syntax.
Diffstat (limited to 'Lib/persist.py')
-rwxr-xr-xLib/persist.py2
1 files changed, 1 insertions, 1 deletions
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()
#