summaryrefslogtreecommitdiffstats
path: root/Lib/dataclasses.py
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2021-06-13 02:47:44 (GMT)
committerGitHub <noreply@github.com>2021-06-13 02:47:44 (GMT)
commit17b16e13bb444001534ed6fccb459084596c8bcf (patch)
tree569101fcca308843dd1ff731dbd74682d7700f6f /Lib/dataclasses.py
parent736ed6f7a9f465ba728198e8bca81e5fbe71bc37 (diff)
downloadcpython-17b16e13bb444001534ed6fccb459084596c8bcf.zip
cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.gz
cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.bz2
Fix typos in multiple files (GH-26689)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
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 7973997..95ff392 100644
--- a/Lib/dataclasses.py
+++ b/Lib/dataclasses.py
@@ -1100,7 +1100,7 @@ def _process_class(cls, init, repr, eq, order, unsafe_hash, frozen,
# _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
-# classes with slots. These could be slighly more performant if we generated
+# classes with slots. These could be slightly more performant if we generated
# the code instead of iterating over fields. But that can be a project for
# another day, if performance becomes an issue.
def _dataclass_getstate(self):