File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,18 +58,18 @@ def eq_sub_func(match: re.Match) -> str:
5858 else :
5959 return "\n " .join (
6060 [
61- f"{ match .group ('indent' )} def __eq__(self, arg0 : { match .group ('other' )} ) -> { match .group ('return' )} :{ match .group ('ellipsis_docstring' )} " ,
61+ f"{ match .group ('indent' )} def __eq__(self, other : { match .group ('other' )} ) -> { match .group ('return' )} :{ match .group ('ellipsis_docstring' )} " ,
6262 f"{ match .group ('indent' )} @typing.overload" ,
63- f"{ match .group ('indent' )} def __eq__(self, arg0 : typing.Any) -> bool | types.NotImplementedType: ..." ,
63+ f"{ match .group ('indent' )} def __eq__(self, other : typing.Any) -> bool | types.NotImplementedType: ..." ,
6464 ]
6565 )
6666 else :
6767 return "\n " .join (
6868 [
6969 f"{ match .group ('indent' )} @typing.overload" ,
70- f"{ match .group ('indent' )} def __eq__(self, arg0 : { match .group ('other' )} ) -> { match .group ('return' )} :{ match .group ('ellipsis_docstring' )} " ,
70+ f"{ match .group ('indent' )} def __eq__(self, other : { match .group ('other' )} ) -> { match .group ('return' )} :{ match .group ('ellipsis_docstring' )} " ,
7171 f"{ match .group ('indent' )} @typing.overload" ,
72- f"{ match .group ('indent' )} def __eq__(self, arg0 : typing.Any) -> bool | types.NotImplementedType: ..." ,
72+ f"{ match .group ('indent' )} def __eq__(self, other : typing.Any) -> bool | types.NotImplementedType: ..." ,
7373 ]
7474 )
7575
You can’t perform that action at this time.
0 commit comments