Skip to content

Commit

Permalink
Fix some type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jasujm committed May 14, 2020
1 parent e81be76 commit 86cb5f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/enumecg/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __init__(self, *names: str):
raise exceptions.Error(f"Could not find common case for {names!r}")

@property
def parts(self) -> typing.Sequence[str]:
def parts(self) -> typing.List[typing.List[str]]:
"""List of the name parts used to create the formatter"""
return self._parts

Expand Down Expand Up @@ -175,7 +175,7 @@ def type_name(self) -> str:
return self._type_name

@classmethod
def get_initializer(cls, value) -> str:
def get_initializer(cls, value):
"""Return C++ initializer for ``value``
Parameters:
Expand Down

0 comments on commit 86cb5f7

Please sign in to comment.