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

FIX avoid side effects from mutable default argument #48

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

eickenberg
Copy link
Collaborator

No description provided.

@eickenberg
Copy link
Collaborator Author

Saw this while looking at the code - @WardBrian can you take a quick look at your leisure (no rush at all)

@WardBrian
Copy link
Collaborator

This actually necessary in our case since we never mutate the argument. I guess it doesn't hurt to do things the "best" way always

@eickenberg eickenberg merged commit 99f511a into main Oct 2, 2023
0 of 9 checks passed
@WardBrian WardBrian deleted the fix-mutable-default-arg branch October 6, 2023 16:13
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.

2 participants