Skip to content

Commit 5fdaee7

Browse files
Legoclonespicnixz
andauthored
Update Lib/pickle.py
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent d60659c commit 5fdaee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/pickle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1837,7 +1837,7 @@ def load_build(self):
18371837
slotstate = None
18381838
if isinstance(state, tuple) and len(state) == 2:
18391839
state, slotstate = state
1840-
if state != None:
1840+
if state is not None:
18411841
inst_dict = inst.__dict__
18421842
intern = sys.intern
18431843
for k, v in state.items():

0 commit comments

Comments
 (0)