-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Docs: align usage of versionadded with recommended practice #114409
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
Changes from 5 commits
cbe03b8
f4a5015
3c8ea9e
821a484
cd93e90
98b9e2a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -194,7 +194,7 @@ The :mod:`functools` module defines the following functions: | |||||||
In contrast, the tuple arguments ``('answer', Decimal(42))`` and | ||||||||
``('answer', Fraction(42))`` are treated as equivalent. | ||||||||
|
||||||||
The wrapped function is instrumented with a :func:`cache_parameters` | ||||||||
The wrapped function is instrumented with a :func:`!cache_parameters` | ||||||||
function that returns a new :class:`dict` showing the values for *maxsize* | ||||||||
and *typed*. This is for information purposes only. Mutating the values | ||||||||
has no effect. | ||||||||
|
@@ -275,8 +275,8 @@ The :mod:`functools` module defines the following functions: | |||||||
.. versionchanged:: 3.8 | ||||||||
Added the *user_function* option. | ||||||||
|
||||||||
.. versionadded:: 3.9 | ||||||||
Added the function :func:`cache_parameters` | ||||||||
.. versionchanged:: 3.9 | ||||||||
Added the function :func:`!cache_parameters` | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It sounds to me based on this writing that this function was added to the module (which, as far as I can tell, it wasn't), as opposed to being an additional behavior in
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree, but I deliberately did not change it. It may be beneficial to address this in a separate PR. |
||||||||
|
||||||||
.. decorator:: total_ordering | ||||||||
|
||||||||
|
Uh oh!
There was an error while loading. Please reload this page.