|
7 | 7 | msgstr ""
|
8 | 8 | "Project-Id-Version: Python 3.11\n"
|
9 | 9 | "Report-Msgid-Bugs-To: \n"
|
10 |
| -"POT-Creation-Date: 2022-11-23 00:17+0000\n" |
| 10 | +"POT-Creation-Date: 2022-12-26 13:06+0000\n" |
11 | 11 | "PO-Revision-Date: 2018-05-23 14:38+0000\n"
|
12 | 12 | " Last-Translator: Adrian Liaw <[email protected]>\n"
|
13 | 13 | "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
|
@@ -756,7 +756,7 @@ msgid ""
|
756 | 756 | msgstr ""
|
757 | 757 |
|
758 | 758 | #: ../../library/argparse.rst:758
|
759 |
| -msgid "choices_ - A container of the allowable values for the argument." |
| 759 | +msgid "choices_ - A sequence of the allowable values for the argument." |
760 | 760 | msgstr ""
|
761 | 761 |
|
762 | 762 | #: ../../library/argparse.rst:760
|
@@ -1136,23 +1136,23 @@ msgstr ""
|
1136 | 1136 | #: ../../library/argparse.rst:1201
|
1137 | 1137 | msgid ""
|
1138 | 1138 | "Some command-line arguments should be selected from a restricted set of "
|
1139 |
| -"values. These can be handled by passing a container object as the *choices* " |
| 1139 | +"values. These can be handled by passing a sequence object as the *choices* " |
1140 | 1140 | "keyword argument to :meth:`~ArgumentParser.add_argument`. When the command "
|
1141 | 1141 | "line is parsed, argument values will be checked, and an error message will "
|
1142 | 1142 | "be displayed if the argument was not one of the acceptable values::"
|
1143 | 1143 | msgstr ""
|
1144 | 1144 |
|
1145 | 1145 | #: ../../library/argparse.rst:1216
|
1146 | 1146 | msgid ""
|
1147 |
| -"Note that inclusion in the *choices* container is checked after any type_ " |
| 1147 | +"Note that inclusion in the *choices* sequence is checked after any type_ " |
1148 | 1148 | "conversions have been performed, so the type of the objects in the *choices* "
|
1149 |
| -"container should match the type_ specified::" |
| 1149 | +"sequence should match the type_ specified::" |
1150 | 1150 | msgstr ""
|
1151 | 1151 |
|
1152 | 1152 | #: ../../library/argparse.rst:1228
|
1153 | 1153 | msgid ""
|
1154 |
| -"Any container can be passed as the *choices* value, so :class:`list` " |
1155 |
| -"objects, :class:`set` objects, and custom containers are all supported." |
| 1154 | +"Any sequence can be passed as the *choices* value, so :class:`list` " |
| 1155 | +"objects, :class:`tuple` objects, and custom sequences are all supported." |
1156 | 1156 | msgstr ""
|
1157 | 1157 |
|
1158 | 1158 | #: ../../library/argparse.rst:1231
|
@@ -1211,8 +1211,8 @@ msgid ""
|
1211 | 1211 | "The ``help`` strings can include various format specifiers to avoid "
|
1212 | 1212 | "repetition of things like the program name or the argument default_. The "
|
1213 | 1213 | "available specifiers include the program name, ``%(prog)s`` and most keyword "
|
1214 |
| -"arguments to :meth:`~ArgumentParser.add_argument`, e.g. ``%(default)s``, ``" |
1215 |
| -"%(type)s``, etc.::" |
| 1214 | +"arguments to :meth:`~ArgumentParser.add_argument`, e.g. ``%(default)s``, " |
| 1215 | +"``%(type)s``, etc.::" |
1216 | 1216 | msgstr ""
|
1217 | 1217 |
|
1218 | 1218 | #: ../../library/argparse.rst:1310
|
|
0 commit comments