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

Tweak display_menu #5513

Merged
merged 1 commit into from
May 30, 2024
Merged

Tweak display_menu #5513

merged 1 commit into from
May 30, 2024

Conversation

Gouvernathor
Copy link
Member

This makes no change to the API.
Fixes the bug aspect of #5509 regarding kwargs.

About the change of parameter default, look at line 1276 and the commit comments. The goal is to avoid mutable parameter defaults, which are a bad practice.

actually, arbitrary kwargs are a very bad thing to pass since as long as the specified screen exists (so, unless something is very wrong), they are just ignored
the scope's default value change is benign as long as we don't do stupid things with it and continue to call dict() on it - and it prevents stupid things we might do to it in the future to go unseen
@renpytom renpytom merged commit 12e781c into master May 30, 2024
@renpytom renpytom deleted the doc-display_menu branch May 30, 2024 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants