PY-20801 "Convert to variable annotation" for simple assignments

This commit is contained in:
Mikhail Golubev
2016-10-25 00:03:49 +03:00
parent 49edc7094b
commit 4a62193d9e
14 changed files with 202 additions and 0 deletions
@@ -0,0 +1 @@
x: Optional[int] = undefined()
@@ -0,0 +1 @@
x = undefined() # type: Optional[int]
@@ -0,0 +1,7 @@
<html>
<body>
<span>
This intention convert PEP-484 type comments to Python 3.6 variable annotations
</span>
</body>
</html>