Skip to content

Sync with CPython 3.11 #360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 36 additions & 15 deletions c-api/frame.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
"POT-Creation-Date: 2022-11-23 00:17+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -45,62 +45,83 @@ msgstr ""
msgid "See also :ref:`Reflection <reflection>`."
msgstr ""

#: ../../c-api/frame.rst:25
#: ../../c-api/frame.rst:24
msgid ""
"The type of frame objects. It is the same object as :py:class:`types."
"FrameType` in the Python layer."
msgstr ""

#: ../../c-api/frame.rst:29
msgid ""
"Previously, this type was only available after including ``<frameobject.h>``."
msgstr ""

#: ../../c-api/frame.rst:34
msgid "Return non-zero if *obj* is a frame object."
msgstr ""

#: ../../c-api/frame.rst:38
msgid ""
"Previously, this function was only available after including ``<frameobject."
"h>``."
msgstr ""

#: ../../c-api/frame.rst:43
msgid "Get the *frame* next outer frame."
msgstr ""

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

#: ../../c-api/frame.rst:35
#: ../../c-api/frame.rst:53
msgid "Get the *frame*'s ``f_builtins`` attribute."
msgstr ""

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

#: ../../c-api/frame.rst:44
#: ../../c-api/frame.rst:62
msgid "Get the *frame* code."
msgstr ""

#: ../../c-api/frame.rst:46 ../../c-api/frame.rst:86
#: ../../c-api/frame.rst:64 ../../c-api/frame.rst:104
msgid "Return a :term:`strong reference`."
msgstr ""

#: ../../c-api/frame.rst:48
#: ../../c-api/frame.rst:66
msgid "The result (frame code) cannot be ``NULL``."
msgstr ""

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

#: ../../c-api/frame.rst:59
#: ../../c-api/frame.rst:77
msgid "Return a :term:`strong reference`, or ``NULL``."
msgstr ""

#: ../../c-api/frame.rst:66
#: ../../c-api/frame.rst:84
msgid "Get the *frame*'s ``f_globals`` attribute."
msgstr ""

#: ../../c-api/frame.rst:75
#: ../../c-api/frame.rst:93
msgid "Get the *frame*'s ``f_lasti`` attribute."
msgstr ""

#: ../../c-api/frame.rst:77
#: ../../c-api/frame.rst:95
msgid "Returns -1 if ``frame.f_lasti`` is ``None``."
msgstr ""

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

#: ../../c-api/frame.rst:93
#: ../../c-api/frame.rst:111
msgid "Return the line number that *frame* is currently executing."
msgstr ""
4 changes: 2 additions & 2 deletions c-api/init_config.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-15 20:43+0000\n"
"POT-Creation-Date: 2022-11-19 00:18+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -296,7 +296,7 @@ msgid "Default: ``PYMEM_ALLOCATOR_NOT_SET``."
msgstr "預設:\\ ``PYMEM_ALLOCATOR_NOT_SET``\\ 。"

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

#: ../../c-api/init_config.rst:259
Expand Down
10 changes: 5 additions & 5 deletions library/argparse.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-31 08:13+0000\n"
"POT-Creation-Date: 2022-11-23 00:17+0000\n"
"PO-Revision-Date: 2018-05-23 14:38+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -1686,10 +1686,10 @@ msgstr ""
#: ../../library/argparse.rst:1935
msgid ""
"By default, :class:`ArgumentParser` groups command-line arguments into "
"\"positional arguments\" and \"optional arguments\" when displaying help "
"messages. When there is a better conceptual grouping of arguments than this "
"default one, appropriate groups can be created using the :meth:"
"`add_argument_group` method::"
"\"positional arguments\" and \"options\" when displaying help messages. When "
"there is a better conceptual grouping of arguments than this default one, "
"appropriate groups can be created using the :meth:`add_argument_group` "
"method::"
msgstr ""

#: ../../library/argparse.rst:1952
Expand Down
Loading