Skip to content
Discussion options

You must be logged in to vote

Argument defaults are evaluated only once at compilation/parsing time. That's written somewhere, and may be even Python standard.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cve2022
Comment options

Answer selected by cve2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants