Skip to content

Commit 091ad0d

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.11 (python#360)
* sync with cpython 369cb3e6 * sync with cpython a3480ec7 * sync with cpython b4ae5b76 * fix(library/struct): resolve fuzzy entries Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
1 parent f243df0 commit 091ad0d

File tree

8 files changed

+758
-594
lines changed

8 files changed

+758
-594
lines changed

c-api/frame.po

+36-15
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.11\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
11+
"POT-Creation-Date: 2022-11-23 00:17+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -45,62 +45,83 @@ msgstr ""
4545
msgid "See also :ref:`Reflection <reflection>`."
4646
msgstr ""
4747

48-
#: ../../c-api/frame.rst:25
48+
#: ../../c-api/frame.rst:24
49+
msgid ""
50+
"The type of frame objects. It is the same object as :py:class:`types."
51+
"FrameType` in the Python layer."
52+
msgstr ""
53+
54+
#: ../../c-api/frame.rst:29
55+
msgid ""
56+
"Previously, this type was only available after including ``<frameobject.h>``."
57+
msgstr ""
58+
59+
#: ../../c-api/frame.rst:34
60+
msgid "Return non-zero if *obj* is a frame object."
61+
msgstr ""
62+
63+
#: ../../c-api/frame.rst:38
64+
msgid ""
65+
"Previously, this function was only available after including ``<frameobject."
66+
"h>``."
67+
msgstr ""
68+
69+
#: ../../c-api/frame.rst:43
4970
msgid "Get the *frame* next outer frame."
5071
msgstr ""
5172

52-
#: ../../c-api/frame.rst:27
73+
#: ../../c-api/frame.rst:45
5374
msgid ""
5475
"Return a :term:`strong reference`, or ``NULL`` if *frame* has no outer frame."
5576
msgstr ""
5677

57-
#: ../../c-api/frame.rst:35
78+
#: ../../c-api/frame.rst:53
5879
msgid "Get the *frame*'s ``f_builtins`` attribute."
5980
msgstr ""
6081

61-
#: ../../c-api/frame.rst:37 ../../c-api/frame.rst:68
82+
#: ../../c-api/frame.rst:55 ../../c-api/frame.rst:86
6283
msgid "Return a :term:`strong reference`. The result cannot be ``NULL``."
6384
msgstr ""
6485

65-
#: ../../c-api/frame.rst:44
86+
#: ../../c-api/frame.rst:62
6687
msgid "Get the *frame* code."
6788
msgstr ""
6889

69-
#: ../../c-api/frame.rst:46 ../../c-api/frame.rst:86
90+
#: ../../c-api/frame.rst:64 ../../c-api/frame.rst:104
7091
msgid "Return a :term:`strong reference`."
7192
msgstr ""
7293

73-
#: ../../c-api/frame.rst:48
94+
#: ../../c-api/frame.rst:66
7495
msgid "The result (frame code) cannot be ``NULL``."
7596
msgstr ""
7697

77-
#: ../../c-api/frame.rst:55
98+
#: ../../c-api/frame.rst:73
7899
msgid ""
79100
"Get the generator, coroutine, or async generator that owns this frame, or "
80101
"``NULL`` if this frame is not owned by a generator. Does not raise an "
81102
"exception, even if the return value is ``NULL``."
82103
msgstr ""
83104

84-
#: ../../c-api/frame.rst:59
105+
#: ../../c-api/frame.rst:77
85106
msgid "Return a :term:`strong reference`, or ``NULL``."
86107
msgstr ""
87108

88-
#: ../../c-api/frame.rst:66
109+
#: ../../c-api/frame.rst:84
89110
msgid "Get the *frame*'s ``f_globals`` attribute."
90111
msgstr ""
91112

92-
#: ../../c-api/frame.rst:75
113+
#: ../../c-api/frame.rst:93
93114
msgid "Get the *frame*'s ``f_lasti`` attribute."
94115
msgstr ""
95116

96-
#: ../../c-api/frame.rst:77
117+
#: ../../c-api/frame.rst:95
97118
msgid "Returns -1 if ``frame.f_lasti`` is ``None``."
98119
msgstr ""
99120

100-
#: ../../c-api/frame.rst:84
121+
#: ../../c-api/frame.rst:102
101122
msgid "Get the *frame*'s ``f_locals`` attribute (:class:`dict`)."
102123
msgstr ""
103124

104-
#: ../../c-api/frame.rst:93
125+
#: ../../c-api/frame.rst:111
105126
msgid "Return the line number that *frame* is currently executing."
106127
msgstr ""

c-api/init_config.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.11\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
11+
"POT-Creation-Date: 2022-11-19 00:18+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -296,7 +296,7 @@ msgid "Default: ``PYMEM_ALLOCATOR_NOT_SET``."
296296
msgstr "預設:\\ ``PYMEM_ALLOCATOR_NOT_SET``\\ 。"
297297

298298
#: ../../c-api/init_config.rst:257
299-
msgid "Set the LC_CTYPE locale to the user preferred locale?"
299+
msgid "Set the LC_CTYPE locale to the user preferred locale."
300300
msgstr ""
301301

302302
#: ../../c-api/init_config.rst:259

library/argparse.po

+5-5
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-10-31 08:13+0000\n"
10+
"POT-Creation-Date: 2022-11-23 00:17+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:38+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1686,10 +1686,10 @@ msgstr ""
16861686
#: ../../library/argparse.rst:1935
16871687
msgid ""
16881688
"By default, :class:`ArgumentParser` groups command-line arguments into "
1689-
"\"positional arguments\" and \"optional arguments\" when displaying help "
1690-
"messages. When there is a better conceptual grouping of arguments than this "
1691-
"default one, appropriate groups can be created using the :meth:"
1692-
"`add_argument_group` method::"
1689+
"\"positional arguments\" and \"options\" when displaying help messages. When "
1690+
"there is a better conceptual grouping of arguments than this default one, "
1691+
"appropriate groups can be created using the :meth:`add_argument_group` "
1692+
"method::"
16931693
msgstr ""
16941694

16951695
#: ../../library/argparse.rst:1952

0 commit comments

Comments
 (0)