Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pymhf/core/functions.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ctypes
import inspect
from functools import lru_cache
from typing import Any, Callable, NamedTuple, Optional, _AnnotatedAlias, get_args
from typing import Any, Callable, NamedTuple, Optional, _AnnotatedAlias, get_args, Type

from typing_extensions import get_type_hints

Expand All @@ -22,7 +22,7 @@ def __init__(self, restype: Any, argtypes: list[ArgData], defaults: Optional[dic
self.defaults = defaults or dict()

@property
def arg_types(self) -> list[CTYPES]:
def arg_types(self) -> list[Type[CTYPES]]:
return self._arg_types

@property
Expand Down
Loading