Skip to content

Commit

Permalink
sync with cpython c7a94e77
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Sep 18, 2024
1 parent 47ef927 commit ab7a062
Show file tree
Hide file tree
Showing 24 changed files with 1,088 additions and 1,050 deletions.
7 changes: 3 additions & 4 deletions c-api/code.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-22 00:03+0000\n"
"POT-Creation-Date: 2024-09-18 00:04+0000\n"
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -121,9 +121,8 @@ msgstr ""

#: ../../c-api/code.rst:93
msgid ""
"For efficiently iterating over the line numbers in a code object, use `the "
"API described in PEP 626 <https://peps.python.org/pep-0626/#out-of-process-"
"debuggers-and-profilers>`_."
"For efficiently iterating over the line numbers in a code object, use :pep:"
"`the API described in PEP 626 <0626#out-of-process-debuggers-and-profilers>`."
msgstr ""

#: ../../c-api/code.rst:98
Expand Down
19 changes: 14 additions & 5 deletions c-api/refcounting.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-01 22:24+0800\n"
"POT-Creation-Date: 2024-09-18 00:04+0000\n"
"PO-Revision-Date: 2023-08-06 14:19+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -106,11 +106,11 @@ msgstr ""
"該物件不能為 ``NULL``;如果你不確定它不是 ``NULL``,請使用 :c:func:"
"`Py_XINCREF`。"

#: ../../c-api/refcounting.rst:61 ../../c-api/refcounting.rst:127
#: ../../c-api/refcounting.rst:61
#, fuzzy
msgid ""
"Do not expect this function to actually modify *o* in any way. For at least "
"`some objects <https://peps.python.org/pep-0683/>`_, this function has no "
"effect."
"Do not expect this function to actually modify *o* in any way. For at least :"
"pep:`some objects <0683>`, this function has no effect."
msgstr ""
"不要期望此函式會以任何方式實際修改 *o*,至少對於\\ `某些物件 <https://peps."
"python.org/pep-0683/>`_\\ 來說,此函式沒有任何效果。"
Expand Down Expand Up @@ -216,6 +216,15 @@ msgstr ""
"該物件不能為 ``NULL``;如果你不確定它不是 ``NULL``,請改用 :c:func:"
"`Py_XDECREF`。"

#: ../../c-api/refcounting.rst:127
#, fuzzy
msgid ""
"Do not expect this function to actually modify *o* in any way. For at least :"
"pep:`some objects <683>`, this function has no effect."
msgstr ""
"不要期望此函式會以任何方式實際修改 *o*,至少對於\\ `某些物件 <https://peps."
"python.org/pep-0683/>`_\\ 來說,此函式沒有任何效果。"

#: ../../c-api/refcounting.rst:133
msgid ""
"The deallocation function can cause arbitrary Python code to be invoked (e."
Expand Down
16 changes: 9 additions & 7 deletions faq/design.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-03 11:11+0800\n"
"POT-Creation-Date: 2024-09-18 00:04+0000\n"
"PO-Revision-Date: 2023-08-31 11:34+0800\n"
"Last-Translator: Steven Hsu <hsuhaochun@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -647,10 +647,11 @@ msgid "Can Python be compiled to machine code, C or some other language?"
msgstr "Python 可以被編譯成機器語言、C 語言或其他種語言嗎?"

#: ../../faq/design.rst:330
#, fuzzy
msgid ""
"`Cython <https://cython.org/>`_ compiles a modified version of Python with "
"optional annotations into C extensions. `Nuitka <https://www.nuitka.net/>`_ "
"is an up-and-coming compiler of Python into C++ code, aiming to support the "
"optional annotations into C extensions. `Nuitka <https://nuitka.net/>`_ is "
"an up-and-coming compiler of Python into C++ code, aiming to support the "
"full Python language."
msgstr ""
"`Cython <https://cython.org/>`_ 可以編譯一個調整過有選擇性註解的 Python 版"
Expand Down Expand Up @@ -678,12 +679,13 @@ msgstr ""
"函式。"

#: ../../faq/design.rst:347
#, fuzzy
msgid ""
"Other implementations (such as `Jython <https://www.jython.org>`_ or `PyPy "
"<https://www.pypy.org>`_), however, can rely on a different mechanism such "
"as a full-blown garbage collector. This difference can cause some subtle "
"porting problems if your Python code depends on the behavior of the "
"reference counting implementation."
"<https://pypy.org>`_), however, can rely on a different mechanism such as a "
"full-blown garbage collector. This difference can cause some subtle porting "
"problems if your Python code depends on the behavior of the reference "
"counting implementation."
msgstr ""
"然而,在其他實作(像是 `Jython <https://www.jython.org>`_ 或 `PyPy <https://"
"www.pypy.org>`_)中,會使用像是成熟的垃圾收集器等不同機制。如果你的 Python 程"
Expand Down
7 changes: 4 additions & 3 deletions faq/general.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-03 11:11+0800\n"
"POT-Creation-Date: 2024-09-18 00:04+0000\n"
"PO-Revision-Date: 2023-06-23 16:56+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -611,12 +611,13 @@ msgstr ""
"且會保證介面在一系列的錯誤修正發布版本中維持不變。"

#: ../../faq/general.rst:311
#, fuzzy
msgid ""
"The latest stable releases can always be found on the `Python download page "
"<https://www.python.org/downloads/>`_. There are two production-ready "
"versions of Python: 2.x and 3.x. The recommended version is 3.x, which is "
"supported by most widely used libraries. Although 2.x is still widely used, "
"`it is not maintained anymore <https://peps.python.org/pep-0373/>`_."
"supported by most widely used libraries. Although 2.x is still widely "
"used, :pep:`it is not maintained anymore <0373>`."
msgstr ""
"最新的穩定發布版本隨時都可以在 `Python 下載頁面 <https://www.python.org/"
"downloads/>`_\\ 上找到。Python 有兩個生產就緒 (production-ready) 的版本:2.x "
Expand Down
Loading

0 comments on commit ab7a062

Please sign in to comment.