| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Mention frozendict support.
|
I used test_capi.test_dict to check if PyDict functions accept frozendict or not. cc @encukou |
Sorry, something went wrong.
There was a problem hiding this comment.
You've missed PyDict_Contains.
I think the info for the current behaviour should be in the main text, not in the versionchanged directive. If nothing else, there's been a suggestion to hide these for older versions.
Sorry, something went wrong.
Oops, fixed.
I updated the PR to mention frozendict in the main text. I kept versionchanged. I'm not sure if you want both, or only changing the main text. |
Sorry, something went wrong.
|
@encukou and/or @ZeroIntensity: Do you want to review this change? |
Sorry, something went wrong.
| .. versionchanged:: next | ||
| Also accept :class:`frozendict`. | ||
|
|
There was a problem hiding this comment.
Now, do we need versionchanged at all, since frozendict was added in this version?
| .. versionchanged:: next | |
| Also accept :class:`frozendict`. |
Sorry, something went wrong.
There was a problem hiding this comment.
I think it's nice to have an explicit historical record.
Sorry, something went wrong.
There was a problem hiding this comment.
I prefer to be explicit about the change.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
PR merged, thanks for your reviews! |
Sorry, something went wrong.
Mention frozendict support.
| Back | FazBrowse Home | New Git URL |
Mention frozendict support.
📚 Documentation preview 📚: https://cpython-previews--145533.org.readthedocs.build/