summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/classes.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-07-05 09:16:10 (GMT)
committerGitHub <noreply@github.com>2022-07-05 09:16:10 (GMT)
commit3440d197a55800ecceea3e115e44b4262411359c (patch)
tree8b2d257a5e24646c798b91a8f618e76b835d2621 /Doc/tutorial/classes.rst
parent2b8ed4d3d4741811da31fc774a202d535755c0a9 (diff)
downloadcpython-3440d197a55800ecceea3e115e44b4262411359c.zip
cpython-3440d197a55800ecceea3e115e44b4262411359c.tar.gz
cpython-3440d197a55800ecceea3e115e44b4262411359c.tar.bz2
Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551)
Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
Diffstat (limited to 'Doc/tutorial/classes.rst')
-rw-r--r--Doc/tutorial/classes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index 58b06eb..f27abe4 100644
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -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()