diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-07-05 12:30:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 12:30:19 (GMT) |
commit | 77bf9739305a0c9178ec94338c1289df0bdce738 (patch) | |
tree | 8ab4e5ebfcc070f6d56b28f6048ef95f0bcfb9db /Doc/howto/clinic.rst | |
parent | 99a06685d4034a9b3d4dd898292926932168d94d (diff) | |
download | cpython-77bf9739305a0c9178ec94338c1289df0bdce738.zip cpython-77bf9739305a0c9178ec94338c1289df0bdce738.tar.gz cpython-77bf9739305a0c9178ec94338c1289df0bdce738.tar.bz2 |
Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) (GH-94557)
Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
(cherry picked from commit 3440d197a55800ecceea3e115e44b4262411359c)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Diffstat (limited to 'Doc/howto/clinic.rst')
-rw-r--r-- | Doc/howto/clinic.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst index 72fb320..e5ed32f 100644 --- a/Doc/howto/clinic.rst +++ b/Doc/howto/clinic.rst @@ -541,7 +541,7 @@ Let's dive in! 16. Compile, then run the relevant portions of the regression-test suite. This change should not introduce any new compile-time warnings or errors, - and there should be no externally-visible change to Python's behavior. + and there should be no externally visible change to Python's behavior. Well, except for one difference: ``inspect.signature()`` run on your function should now provide a valid signature! @@ -1117,7 +1117,7 @@ Here's the syntax for cloning a function:: ``module.class`` in the sample just to illustrate that you must use the full path to *both* functions.) -Sorry, there's no syntax for partially-cloning a function, or cloning a function +Sorry, there's no syntax for partially cloning a function, or cloning a function then modifying it. Cloning is an all-or nothing proposition. Also, the function you are cloning from must have been previously defined @@ -1315,7 +1315,7 @@ to specify in your subclass. Here's the current list: there is no default, but not specifying a default may result in an "uninitialized variable" warning. This can easily happen when using option groups—although - properly-written code will never actually use this value, + properly written code will never actually use this value, the variable does get passed in to the impl, and the C compiler will complain about the "use" of the uninitialized value. This value should always be a |