Skip to content

Commit 3281c6f

Browse files
author
y-p
committed
CLN: remove redundant assignment
1 parent 96cc68a commit 3281c6f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/core/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ def __setattr__(self,key,val):
154154
# can you can't overwrite subtrees
155155
if key in self.d and not isinstance(self.d[key],dict):
156156
_set_option(prefix,val)
157-
self.d[key]=val
158157
else:
159158
raise KeyError("You can only set the value of existing options")
160159

0 commit comments

Comments
 (0)