-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
The tkinter.filedialog module has no default values for arguments #11482
Comments
easily fixable, but I would need to know what could the default values be |
I would look at tkinter's source code. It calls Tcl commands (like everything else in tkinter), in this case
You can also just try and see what each parameter does. |
|
typeshed/stdlib/tkinter/filedialog.pyi
Lines 81 to 90 in 6d20ea6
The defaults are set to
...
, because the code is dynamic (as is usual with tkinter), and the default values couldn't be filled in automatically when we introduced default values to typeshed. Setting reasonable default values would make the parameters easier to use, because IDEs tell you what each parameter does if you don't specify it.This is similar to #10947, maybe a part of it.
The text was updated successfully, but these errors were encountered: