Skip to content

Commit

Permalink
Make it black compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloferz committed Jul 24, 2024
1 parent 6e8b932 commit 124d884
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pysages/utils/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,12 @@ def has_method(fn, T, index):
_util = _typing.type if _plum_version_tuple < (2, 2, 1) else _typing

if _plum_version_tuple < (2, 3, 0):

def _signature_types(sig):
return sig.types

else:

def _signature_types(sig):
return sig.signature.types

Expand Down

0 comments on commit 124d884

Please sign in to comment.