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 3440d197a5)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
This commit is contained in:
Miss Islington (bot) 2022-07-05 05:30:19 -07:00 committed by GitHub
parent 99a06685d4
commit 77bf973930
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
71 changed files with 118 additions and 118 deletions

View file

@ -297,7 +297,7 @@ initial state. Therefore a class may define a special method named
self.data = []
When a class defines an :meth:`__init__` method, class instantiation
automatically invokes :meth:`__init__` for the newly-created class instance. So
automatically invokes :meth:`__init__` for the newly created class instance. So
in this example, a new, initialized instance can be obtained by::
x = MyClass()

View file

@ -189,7 +189,7 @@ notation. ::
This is particularly useful in combination with the built-in function
:func:`vars`, which returns a dictionary containing all local variables.
As an example, the following lines produce a tidily-aligned
As an example, the following lines produce a tidily aligned
set of columns giving integers and their squares and cubes::
>>> for x in range(1, 11):