]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in comment (gh-107389)
authorTom Niget <zippedfire@free.fr>
Fri, 28 Jul 2023 14:52:29 +0000 (16:52 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Jul 2023 14:52:29 +0000 (10:52 -0400)
Lib/dataclasses.py

index e766a7b554afe1eea10732f04bc85fcab86dd2f8..3c72c289e438822df2bf13dd1586529db9e2d971 100644 (file)
@@ -1036,7 +1036,7 @@ def _process_class(cls, init, repr, eq, order, unsafe_hash, frozen,
     # Was this class defined with an explicit __hash__?  Note that if
     # __eq__ is defined in this class, then python will automatically
     # set __hash__ to None.  This is a heuristic, as it's possible
-    # that such a __hash__ == None was not auto-generated, but it
+    # that such a __hash__ == None was not auto-generated, but it's
     # close enough.
     class_hash = cls.__dict__.get('__hash__', MISSING)
     has_explicit_hash = not (class_hash is MISSING or