Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1820010

Browse files
committed
New class syntax.
1 parent 470e761 commit 1820010

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/persist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def dumpstring(x, typedict, types, stack):
148148
# Function to dump type objects
149149
#
150150
typeswitch = {}
151-
class some_class():
151+
class some_class:
152152
def method(self): pass
153153
some_instance = some_class()
154154
#

0 commit comments

Comments
 (0)