Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d46d23

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython 3a67d327
1 parent a7734ef commit 4d46d23

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

c-api/intro.po

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2023-10-11 17:13+0000\n"
11+
"POT-Creation-Date: 2024-02-08 00:03+0000\n"
1212
"PO-Revision-Date: 2023-04-25 18:01+0800\n"
1313
"Last-Translator: Matt Wang <[email protected]>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -245,9 +245,11 @@ msgstr ""
245245
"大小增加)。在成本/收益分析方面,編譯器通常比開發人員更聰明。"
246246

247247
#: ../../c-api/intro.rst:151
248+
#, fuzzy
248249
msgid ""
249-
"If Python is :ref:`built in debug mode <debug-build>` (if the ``Py_DEBUG`` "
250-
"macro is defined), the :c:macro:`Py_ALWAYS_INLINE` macro does nothing."
250+
"If Python is :ref:`built in debug mode <debug-build>` (if the :c:macro:"
251+
"`Py_DEBUG` macro is defined), the :c:macro:`Py_ALWAYS_INLINE` macro does "
252+
"nothing."
251253
msgstr ""
252254
"如果 Python 是\\ :ref:`在除錯模式下建置 <debug-build>`\\ (如果 ``Py_DEBUG`` "
253255
"巨集有被定義),:c:macro:`Py_ALWAYS_INLINE` 巨集就什麼都不會做。"
@@ -1039,14 +1041,15 @@ msgstr ""
10391041
"錯構置的完整列表,為支援追蹤參照計數、為記憶體分配器除錯或對主直譯器迴圈進行"
10401042
"低階分析的建置。本節的其餘部分將僅描述最常用的建置。"
10411043

1042-
#: ../../c-api/intro.rst:815
1044+
#: ../../c-api/intro.rst:817
1045+
#, fuzzy
10431046
msgid ""
1044-
"Compiling the interpreter with the :c:macro:`Py_DEBUG` macro defined "
1047+
"Compiling the interpreter with the :c:macro:`!Py_DEBUG` macro defined "
10451048
"produces what is generally meant by :ref:`a debug build of Python <debug-"
1046-
"build>`. :c:macro:`Py_DEBUG` is enabled in the Unix build by adding :option:"
1049+
"build>`. :c:macro:`!Py_DEBUG` is enabled in the Unix build by adding :option:"
10471050
"`--with-pydebug` to the :file:`./configure` command. It is also implied by "
1048-
"the presence of the not-Python-specific :c:macro:`_DEBUG` macro. When :c:"
1049-
"macro:`Py_DEBUG` is enabled in the Unix build, compiler optimization is "
1051+
"the presence of the not-Python-specific :c:macro:`!_DEBUG` macro. When :c:"
1052+
"macro:`!Py_DEBUG` is enabled in the Unix build, compiler optimization is "
10501053
"disabled."
10511054
msgstr ""
10521055
"使用定義的 :c:macro:`Py_DEBUG` 巨集編譯直譯器會生成 :ref:`Python 的除錯建置 "
@@ -1055,15 +1058,15 @@ msgstr ""
10551058
"macro:`_DEBUG` 巨集的存在也暗示了這一點。當 :c:macro:`Py_DEBUG` 在 Unix 建置"
10561059
"中啟用時,編譯器最佳化會被禁用。"
10571060

1058-
#: ../../c-api/intro.rst:823
1061+
#: ../../c-api/intro.rst:825
10591062
msgid ""
10601063
"In addition to the reference count debugging described below, extra checks "
10611064
"are performed, see :ref:`Python Debug Build <debug-build>`."
10621065
msgstr ""
10631066
"除了下面描述的參照計數除錯之外,還會執行額外的檢查,請參閱 :ref:`Python 除錯"
10641067
"建置 <debug-build>`。"
10651068

1066-
#: ../../c-api/intro.rst:826
1069+
#: ../../c-api/intro.rst:828
10671070
msgid ""
10681071
"Defining :c:macro:`Py_TRACE_REFS` enables reference tracing (see the :option:"
10691072
"`configure --with-trace-refs option <--with-trace-refs>`). When defined, a "
@@ -1078,7 +1081,7 @@ msgstr ""
10781081
"linked list)。全體分配也有被追蹤。退出時將印出所有現行參照。(在交互模式下,"
10791082
"這發生在直譯器運行的每個陳述句之後。)"
10801083

1081-
#: ../../c-api/intro.rst:833
1084+
#: ../../c-api/intro.rst:835
10821085
msgid ""
10831086
"Please refer to :file:`Misc/SpecialBuilds.txt` in the Python source "
10841087
"distribution for more detailed information."

library/test.po

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-02-01 00:03+0000\n"
10+
"POT-Creation-Date: 2024-02-08 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:12+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -386,9 +386,8 @@ msgstr ""
386386

387387
#: ../../library/test.rst:327
388388
msgid ""
389-
"True if Python is built with the :c:macro:`Py_DEBUG` macro defined: if "
390-
"Python is :ref:`built in debug mode <debug-build>` (:option:`./configure --"
391-
"with-pydebug <--with-pydebug>`)."
389+
"True if Python was built with the :c:macro:`Py_DEBUG` macro defined, that "
390+
"is, if Python was :ref:`built in debug mode <debug-build>`."
392391
msgstr ""
393392

394393
#: ../../library/test.rst:336

0 commit comments

Comments
 (0)