summaryrefslogtreecommitdiffstats
path: root/Lib/dataclasses.py
diff options
context:
space:
mode:
authorTom Niget <zippedfire@free.fr>2023-07-28 14:52:29 (GMT)
committerGitHub <noreply@github.com>2023-07-28 14:52:29 (GMT)
commit2aaa83d5f5c7b025f4bf2e04836139eb01a33bd8 (patch)
tree7915a652b0439221ca983544e818e469378b6c06 /Lib/dataclasses.py
parentfc130c47daa715d60d8925c478a96d5083e47b6a (diff)
downloadcpython-2aaa83d5f5c7b025f4bf2e04836139eb01a33bd8.zip
cpython-2aaa83d5f5c7b025f4bf2e04836139eb01a33bd8.tar.gz
cpython-2aaa83d5f5c7b025f4bf2e04836139eb01a33bd8.tar.bz2
Fix typo in comment (gh-107389)
Diffstat (limited to 'Lib/dataclasses.py')
-rw-r--r--Lib/dataclasses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dataclasses.py b/Lib/dataclasses.py
index e766a7b..3c72c28 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