8000 sync with cpython ccb56804 · python/python-docs-zh-tw@76b4ac8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 76b4ac8

Browse files
sync with cpython ccb56804
1 parent 3bd0604 commit 76b4ac8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

howto/descriptor.po

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.10\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2022-08-20 00:15+0000\n"
11+
"POT-Creation-Date: 2022-10-10 00:22+0000\n"
1212
"PO-Revision-Date: 2018-05-23 14:36+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -660,9 +660,9 @@ msgstr "ORM 範例"
660660

661661
#: ../../howto/descriptor.rst:850
662662
msgid ""
663< 8000 /code>-
"The following code is simplified skeleton showing how data descriptors could "
664-
"be used to implement an `object relational mapping <https://en.wikipedia.org/"
665-
"wiki/Object%E2%80%93relational_mapping>`_."
663+
"The following code is a simplified skeleton showing how data descriptors "
664+
"could be used to implement an `object relational mapping <https://en."
665+
"wikipedia.org/wiki/Object%E2%80%93relational_mapping>`_."
666666
msgstr ""
667667

668668
#: ../../howto/descriptor.rst:854
@@ -1015,36 +1015,36 @@ msgid ""
10151015
"managed by member descriptors:"
10161016
msgstr ""
10171017

1018-
#: ../../howto/descriptor.rst:1556
1018+
#: ../../howto/descriptor.rst:1558
10191019
msgid ""
10201020
"The :meth:`type.__new__` method takes care of adding member objects to class "
10211021
"variables:"
10221022
msgstr ""
10231023

1024-
#: ../../howto/descriptor.rst:1572
1024+
#: ../../howto/descriptor.rst:1574
10251025
msgid ""
10261026
"The :meth:`object.__new__` method takes care of creating instances that have "
10271027
"slots instead of an instance dictionary. Here is a rough simulation in pure "
10281028
"Python:"
10291029
msgstr ""
10301030

1031-
#: ../../howto/descriptor.rst:1607
1031+
#: ../../howto/descriptor.rst:1609
10321032
msgid ""
10331033
"To use the simulation in a real class, just inherit from :class:`Object` and "
10341034
"set the :term:`metaclass` to :class:`Type`:"
10351035
msgstr ""
10361036

1037-
#: ../../howto/descriptor.rst:1621
1037+
#: ../../howto/descriptor.rst:1623
10381038
msgid ""
10391039
"At this point, the metaclass has loaded member objects for *x* and *y*::"
10401040
msgstr ""
10411041

1042-
#: ../../howto/descriptor.rst:1642
1042+
#: ../../howto/descriptor.rst:1644
10431043
msgid ""
10441044
"When instances are created, they have a ``slot_values`` list where the "
10451045
"attributes are stored:"
10461046
msgstr ""
10471047

1048-
#: ../../howto/descriptor.rst:1654
1048+
#: ../../howto/descriptor.rst:1656
10491049
msgid "Misspelled or unassigned attributes will raise an exception:"
10501050
msgstr ""

0 commit comments

Comments
 (0)
0