From 2aaa83d5f5c7b025f4bf2e04836139eb01a33bd8 Mon Sep 17 00:00:00 2001 From: Tom Niget Date: Fri, 28 Jul 2023 16:52:29 +0200 Subject: [PATCH] Fix typo in comment (gh-107389) --- Lib/dataclasses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/dataclasses.py b/Lib/dataclasses.py index e766a7b554a..3c72c289e43 100644 --- a/Lib/dataclasses.py +++ b/Lib/dataclasses.py @@ -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