Skip to content

Commit

Permalink
Address review
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Apr 2, 2024
1 parent 977dbbb commit ff1f33d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Tools/clinic/libclinic/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,12 +534,9 @@ def add_include(self, name: str, reason: str,


def add_legacy_c_converter(
format_unit: str,
**kwargs: Any
format_unit: str,
**kwargs: Any
) -> Callable[[CConverterClassT], CConverterClassT]:
"""
Adds a legacy converter.
"""
def closure(f: CConverterClassT) -> CConverterClassT:
added_f: Callable[..., CConverter]
if not kwargs:
Expand Down

0 comments on commit ff1f33d

Please sign in to comment.