-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytype generates invalid pyi #4
Comments
Also, sometimes it emits two function definitions for one in the input. E.g. input:
and output:
(Let me know if you'd rather see me file a separate issue for that.) |
Yep, that should be a seperate issue. I'll move it over. |
Also see #12 |
And #9. On Thu, Jan 21, 2016 at 6:31 PM, Matthias Kramm notifications@github.com
--Guido van Rossum (python.org/~guido) |
Fixed except for import issue, which I moved to #13 . |
Who knew there were so many different ways to arrange three for loops? PiperOrigin-RevId: 387919695
pytype doesn't generate valid Python code for pyi. E.g. it generates
def f() -> None
instead of
def f() -> None: ...
.
Also, it uses
?
forAny
, omits certain imports, and usesx or y
instead ofUnion[x, y]
.The text was updated successfully, but these errors were encountered: