##// END OF EJS Templates
pytype: convert type comment for inline variable too...
pytype: convert type comment for inline variable too Same logic as for the previous changeset, but for "type comment" annotating variables, not function/method. As for the previous changeset, we had to adjust for of the types to actually match what was happening.

File last commit:

r51654:2c34c9b6 default
r52181:8b2ea224 default
Show More
_types.py
6 lines | 126 B | text/x-python | PythonLexer
from typing import Any, Callable, Tuple
# Type annotations
ParseFloat = Callable[[str], Any]
Key = Tuple[str, ...]
Pos = int