Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8f085cc

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython 97cf0291
1 parentfc3ff65 commit8f085cc

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)

[8]ページ先頭

©2009-2025 Movatter.jp