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

Commite397439

Browse files
sync with cpython 987fba10
1 parenta09d469 commite397439

File tree

2 files changed

+104
-105
lines changed

2 files changed

+104
-105
lines changed

‎library/dataclasses.po

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version:Python 3.10\n"
77
"Report-Msgid-Bugs-To:\n"
8-
"POT-Creation-Date:2021-11-30 00:09+0000\n"
8+
"POT-Creation-Date:2022-01-09 00:10+0000\n"
99
"PO-Revision-Date:2018-07-15 18:56+0800\n"
1010
"Last-Translator:\n"
1111
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -396,7 +396,7 @@ msgstr ""
396396

397397
#:../../library/dataclasses.rst:324
398398
msgid""
399-
"Converts the dataclass ``instance`` to a dict (by using the factory function "
399+
"Converts the dataclass ``obj`` to a dict (by using the factory function "
400400
"``dict_factory``). Each dataclass is converted to a dict of its fields, as "
401401
"``name: value`` pairs. dataclasses, dicts, lists, and tuples are recursed "
402402
"into. Other objects are copied with :func:`copy.deepcopy`."
@@ -412,16 +412,16 @@ msgstr ""
412412

413413
#:../../library/dataclasses.rst:351
414414
msgid""
415-
":func:`asdict` raises :exc:`TypeError` if ``instance`` is not a dataclass "
415+
":func:`asdict` raises :exc:`TypeError` if ``obj`` is not a dataclass "
416416
"instance."
417417
msgstr""
418418

419419
#:../../library/dataclasses.rst:356
420420
msgid""
421-
"Converts the dataclass ``instance`` to a tuple (by using the factory "
422-
"function``tuple_factory``). Each dataclass is converted to a tuple of its "
423-
"fieldvalues. dataclasses, dicts, lists, and tuples are recursed into. "
424-
"Otherobjects are copied with :func:`copy.deepcopy`."
421+
"Converts the dataclass ``obj`` to a tuple (by using the factory function "
422+
"``tuple_factory``). Each dataclass is converted to a tuple of its field "
423+
"values. dataclasses, dicts, lists, and tuples are recursed into. Other "
424+
"objects are copied with :func:`copy.deepcopy`."
425425
msgstr""
426426

427427
#:../../library/dataclasses.rst:362
@@ -430,7 +430,7 @@ msgstr ""
430430

431431
#:../../library/dataclasses.rst:371
432432
msgid""
433-
":func:`astuple` raises :exc:`TypeError` if ``instance`` is not a dataclass "
433+
":func:`astuple` raises :exc:`TypeError` if ``obj`` is not a dataclass "
434434
"instance."
435435
msgstr""
436436

@@ -460,8 +460,8 @@ msgstr ""
460460

461461
#:../../library/dataclasses.rst:411
462462
msgid""
463-
"Creates a new object of the same type as ``instance``, replacing fields with "
464-
"values from ``changes``. If ``instance`` is not a Data Class, raises :exc:"
463+
"Creates a new object of the same type as ``obj``, replacing fields with "
464+
"values from ``changes``. If ``obj`` is not a Data Class, raises :exc:"
465465
"`TypeError`. If values in ``changes`` do not specify fields, raises :exc:"
466466
"`TypeError`."
467467
msgstr""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp