Skip to content

Commit d7b642b

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython 97cf0291
1 parent 2268c7b commit d7b642b

File tree

2 files changed

+522
-522
lines changed

2 files changed

+522
-522
lines changed

library/dataclasses.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.11\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2023-04-25 00:20+0000\n"
8+
"POT-Creation-Date: 2023-06-27 00:19+0000\n"
99
"PO-Revision-Date: 2023-02-11 15:02+0800\n"
1010
"Last-Translator: \n"
1111
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1114,7 +1114,7 @@ msgid ""
11141114
"dataclasses just use normal Python class creation they also share this "
11151115
"behavior. There is no general way for Data Classes to detect this "
11161116
"condition. Instead, the :func:`dataclass` decorator will raise a :exc:"
1117-
"`TypeError` if it detects an unhashable default parameter. The assumption "
1117+
"`ValueError` if it detects an unhashable default parameter. The assumption "
11181118
"is that if a value is unhashable, it is mutable. This is a partial "
11191119
"solution, but it does protect against many common errors."
11201120
msgstr ""

0 commit comments

Comments
 (0)