Skip to content

Commit

Permalink
[minor] Fix arg name in classmethod (#16741)
Browse files Browse the repository at this point in the history
  • Loading branch information
nautics889 authored Jan 4, 2024
1 parent a1b4e32 commit fbb738a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ def serialize(self) -> JsonDict:
}

@classmethod
def deserialize(self, data: JsonDict) -> ClassDef:
def deserialize(cls, data: JsonDict) -> ClassDef:
assert data[".class"] == "ClassDef"
res = ClassDef(
data["name"],
Expand Down

0 comments on commit fbb738a

Please sign in to comment.