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/faq/design.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/faq/design.rst')
-rw-r--r-- | Doc/faq/design.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/faq/design.rst b/Doc/faq/design.rst index a624fdb..794b697 100644 --- a/Doc/faq/design.rst +++ b/Doc/faq/design.rst @@ -313,7 +313,7 @@ you're too lazy to define a function. Functions are already first class objects in Python, and can be declared in a local scope. Therefore the only advantage of using a lambda instead of a -locally-defined function is that you don't need to invent a name for the +locally defined function is that you don't need to invent a name for the function -- but that's just a local variable to which the function object (which is exactly the same type of object that a lambda expression yields) is assigned! |