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

Commitd4c6c1e

Browse files
sync with cpython 2cb4b13a
1 parentb47edf3 commitd4c6c1e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎library/argparse.po

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.11\n"
99
"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"
1111
"PO-Revision-Date:2018-05-23 14:38+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -756,7 +756,7 @@ msgid ""
756756
msgstr""
757757

758758
#:../../library/argparse.rst:758
759-
msgid"choices_ - Acontainer of the allowable values for the argument."
759+
msgid"choices_ - Asequence of the allowable values for the argument."
760760
msgstr""
761761

762762
#:../../library/argparse.rst:760
@@ -1136,23 +1136,23 @@ msgstr ""
11361136
#:../../library/argparse.rst:1201
11371137
msgid""
11381138
"Some command-line arguments should be selected from a restricted set of "
1139-
"values. These can be handled by passing acontainer object as the *choices* "
1139+
"values. These can be handled by passing asequence object as the *choices* "
11401140
"keyword argument to :meth:`~ArgumentParser.add_argument`. When the command "
11411141
"line is parsed, argument values will be checked, and an error message will "
11421142
"be displayed if the argument was not one of the acceptable values::"
11431143
msgstr""
11441144

11451145
#:../../library/argparse.rst:1216
11461146
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_ "
11481148
"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::"
11501150
msgstr""
11511151

11521152
#:../../library/argparse.rst:1228
11531153
msgid""
1154-
"Anycontainer can be passed as the *choices* value, so :class:`list` "
1155-
"objects, :class:`set` objects, and customcontainers are all supported."
1154+
"Anysequence can be passed as the *choices* value, so :class:`list` "
1155+
"objects, :class:`tuple` objects, and customsequences are all supported."
11561156
msgstr""
11571157

11581158
#:../../library/argparse.rst:1231
@@ -1211,8 +1211,8 @@ msgid ""
12111211
"The ``help`` strings can include various format specifiers to avoid "
12121212
"repetition of things like the program name or the argument default_. The "
12131213
"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.::"
12161216
msgstr""
12171217

12181218
#:../../library/argparse.rst:1310

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp