Skip to content

Commit

Permalink
Don't redefine keywords unnecessarily
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Dec 6, 2024
1 parent 4b8a45a commit 0937a60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pydot/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,8 @@ class Common:
"""

def __getstate__(self) -> AttributeDict:
dict = copy.copy(self.obj_dict)
return dict
_dict = copy.copy(self.obj_dict)
return _dict

def __setstate__(self, state: AttributeDict) -> None:
self.obj_dict = state
Expand Down

0 comments on commit 0937a60

Please sign in to comment.