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

Replace #864

Merged
merged 5 commits into from
Mar 22, 2024
Merged

Replace #864

merged 5 commits into from
Mar 22, 2024

Conversation

gertjanvanzwieten
Copy link
Contributor

No description provided.

@gertjanvanzwieten gertjanvanzwieten changed the title Reduce Replace Mar 22, 2024
@gertjanvanzwieten gertjanvanzwieten force-pushed the reduce branch 2 times, most recently from caedea6 to 580b6be Compare March 22, 2024 12:31
Gertjan van Zwieten and others added 4 commits March 22, 2024 13:32
This patch changes the definition of the function decorated by
_util.deep_replace_property, from returning None if no replacement is made, to
returning the object itself. The new definition is a more natural choice for a
recursive procedure (recursion stops when a trivial loop is reached) and
results in better readable code for the casual observer.
@gertjanvanzwieten gertjanvanzwieten merged commit 6670159 into master Mar 22, 2024
21 of 23 checks passed
gertjanvanzwieten pushed a commit that referenced this pull request Mar 22, 2024
@joostvanzwieten joostvanzwieten deleted the reduce branch March 31, 2024 20:55
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