Skip to content
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

tkinter filedialog.askdirectory() gives "error: Call to untyped function "askdirectory" in typed context" #5571

Closed
ThePhilgrim opened this issue Jun 3, 2021 · 2 comments · Fixed by #5579
Assignees
Labels
stubs: incomplete Annotations or sub-modules missing from an existing package or module

Comments

@ThePhilgrim
Copy link
Contributor

Same error with both
savepath = filedialog.askdirectory()
and
savepath: str = filedialog.askdirectory()

@srittau
Copy link
Collaborator

srittau commented Jun 3, 2021

All the ask* functions are not typed yet. Improvements are always welcome!

@srittau srittau added the stubs: incomplete Annotations or sub-modules missing from an existing package or module label Jun 3, 2021
@ThePhilgrim
Copy link
Contributor Author

@Akuli : "Make issue on typeshed so I remember to fix it"

@srittau I think you can assign this to Akuli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stubs: incomplete Annotations or sub-modules missing from an existing package or module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants