diff options
-rw-r--r-- | comments.py | 2 | ||||
-rw-r--r-- | tokens.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/comments.py b/comments.py index d429fe1..252a450 100644 --- a/comments.py +++ b/comments.py @@ -90,7 +90,7 @@ class Comment: attrib = comment_attrib def __init__(self, old=True): - # type: () -> None + # type: (Bool) -> None self._pre = None if old else [] self.comment = None # [post, [pre]] # map key (mapping/omap/dict) or index (sequence/list) to a list of @@ -346,7 +346,7 @@ class CommentToken(Token): id = '<comment>' def __init__(self, value, start_mark=None, end_mark=None, column=None): - # type: (Any, Any, Any) -> None + # type: (Any, Any, Any, Any) -> None if start_mark is None: assert column is not None self._column = column |