Skip to content

Commit

Permalink
Ignore missing positional-only parameter marker in stub
Browse files Browse the repository at this point in the history
  • Loading branch information
rayzchen committed Jul 25, 2023
1 parent ae3343f commit 7cbfb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/pyunity/core.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ addFields: _AddFields

class ComponentType(ABCMeta):
@classmethod
def __prepare__(cls, name: str, bases: Tuple[type, ...], **kwds: Any) -> Mapping[str, object]: ...
def __prepare__(cls, name: str, bases: Tuple[type, ...], **kwds: Any) -> Mapping[str, object]: ... # type: ignore # positional-only parameters not in python < 3.8

class Component(SavesProjectID, metaclass=ComponentType):
_shown: Dict[str, HideInInspector] = ...
Expand Down

0 comments on commit 7cbfb08

Please sign in to comment.