1313# ppcfish <[email protected] >, 20211414# Kaizhao Zhang <[email protected] >, 20211515# hanfeng <[email protected] >, 202116- # Freesand Leo <[email protected] >, 20211716# WH-2099 <[email protected] >, 202117+ # Freesand Leo <[email protected] >, 20211818#
1919#, fuzzy
2020msgid ""
@@ -23,7 +23,7 @@ msgstr ""
2323"Report-Msgid-Bugs-To : \n "
2424"POT-Creation-Date : 2021-07-29 13:22+0000\n "
2525"PO-Revision-Date : 2021-06-29 13:04+0000\n "
26- "Last-Translator : WH-2099 <wh2099@outlook .com>, 2021\n "
26+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2021\n "
2727"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2828"MIME-Version : 1.0\n "
2929"Content-Type : text/plain; charset=UTF-8\n "
@@ -618,6 +618,9 @@ msgid ""
618618" \" y\" ), the following patterns are all equivalent (and all bind the ``y`` "
619619"attribute to the ``var`` variable)::"
620620msgstr ""
621+ "你可以在某些为其属性提供了排序的内置类(例如 dataclass)中使用位置参数。 你也可以通过在你的类中设置 ``__match_args__`` "
622+ "特殊属性来为模式中的属性定义一个专门的位置。 如果它被设为 (\" x\" , \" y\" ),则以下模式均为等价的(并且都是将 ``y`` 属性绑定到 "
623+ "``var`` 变量)::"
621624
622625#: ../../whatsnew/3.10.rst:592
623626msgid "Nested patterns"
@@ -627,7 +630,7 @@ msgstr "嵌套模式"
627630msgid ""
628631"Patterns can be arbitrarily nested. For example, if our data is a short "
629632"list of points, it could be matched like this::"
630- msgstr ""
633+ msgstr "模式可以任意地嵌套。 例如,如果我们的数据是由点组成的短列表,则它可以这样被匹配:: "
631634
632635#: ../../whatsnew/3.10.rst:610
633636msgid "Complex patterns and the wildcard"
0 commit comments