MCPcopy Create free account
hub / github.com/dropbox/pyannotate / __init__

Method __init__

pyannotate_tools/annotations/parse.py:222–226  ·  view source on GitHub ↗
(self, comment)

Source from the content-addressed store, hash-verified

220 """Implementation of the type comment parser"""
221
222 def __init__(self, comment):
223 # type: (str) -> None
224 self.comment = comment
225 self.tokens = tokenize(comment)
226 self.i = 0
227
228 def parse(self):
229 # type: () -> Tuple[List[Argument], AbstractType]

Callers 1

__init__Method · 0.45

Calls 1

tokenizeFunction · 0.85

Tested by

no test coverage detected