8000 Sync with CPython 3.11 (#344) · appletv850/python-docs-zh-tw@82fb92b · GitHub
[go: up one dir, main page]

Skip to content

Commit 82fb92b

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.11 (python#344)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt.Wang <mattwang44@gmail.com>
1 parent 51ce1a8 commit 82fb92b

18 files changed

+2532
-2377
lines changed

c-api/memory.po

Lines changed: 199 additions & 177 deletions
Large diffs are not rendered by default.

c-api/typeobj.po

Lines changed: 273 additions & 259 deletions
Large diffs are not rendered by default.

faq/programming.po

Lines changed: 453 additions & 445 deletions
Large diffs are not rendered by default.

faq/windows.po

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: Python 3.11\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2022-09-24 00:21+0000\n"
13-
"PO-Revision-Date: 2022-10-05 10:57+0800\n"
12+
"POT-Creation-Date: 2022-11-08 00:19+0000\n"
13+
"PO-Revision-Date: 2022-11-09 17:25+0800\n"
1414
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1616
"tw)\n"
@@ -19,7 +19,7 @@ msgstr ""
1919
"Content-Type: text/plain; charset=UTF-8\n"
2020
"Content-Transfer-Encoding: 8bit\n"
2121
"Plural-Forms: nplurals=1; plural=0;\n"
22-
"X-Generator: Poedit 3.1.1\n"
22+
"X-Generator: Poedit 3.2\n"
2323

2424
#: ../../faq/windows.rst:9
2525
msgid "Python on Windows FAQ"
@@ -270,15 +270,15 @@ msgstr "在 Windows 應用程式中嵌入 Python 直譯器的過程可以總結
270270

271271
#: ../../faq/windows.rst:170
272272
msgid ""
273-
"Do _not_ build Python into your .exe file directly. On Windows, Python must "
274-
"be a DLL to handle importing modules that are themselves DLL's. (This is "
275-
"the first key undocumented fact.) Instead, link to :file:`python{NN}.dll`; "
276-
"it is typically installed in ``C:\\Windows\\System``. *NN* is the Python "
277-
"version, a number such as \"33\" for Python 3.3."
273+
"Do **not** build Python into your .exe file directly. On Windows, Python "
274+
"must be a DLL to handle importing modules that are themselves DLL's. (This "
275+
"is the first key undocumented fact.) Instead, link to :file:`python{NN}."
276+
"dll`; it is typically installed in ``C:\\Windows\\System``. *NN* is the "
277+
"Python version, a number such as \"33\" for Python 3.3."
278278
msgstr ""
279-
"不要直接將 Python 建置到你的 .exe 檔中。在 Windows 上,Python 必須是一個 DLL "
280-
"來處理模組的 import,而那些模組本身也是 DLL。(這是第一個未正式記載的關鍵事"
281-
"。)請改為連結到 :file:`python{NN}.dll`;它通常被安裝在 ``C:\\Windows"
279+
"**不要**\\ 直接將 Python 建置到你的 .exe 檔中。在 Windows 上,Python 必須是一"
280+
"個 DLL 來處理模組的 import,而那些模組本身也是 DLL。(這是第一個未正式記載的"
281+
"關鍵事實。)請改為連結到 :file:`python{NN}.dll`;它通常被安裝在 ``C:\\Windows"
282282
"\\System`` 中。*NN* 是 Python 版本,例如 \"33\" 就是指 Python 3.3。"
283283

284284
#: ../../faq/windows.rst:176
@@ -315,13 +315,13 @@ msgid ""
315315
"If you use SWIG, it is easy to create a Python \"extension module\" that "
316316
"will make the app's data and methods available to Python. SWIG will handle "
317317
"just about all the grungy details for you. The result is C code that you "
318-
"link *into* your .exe file (!) You do _not_ have to create a DLL file, and "
319-
"this also simplifies linking."
318+
"link *into* your .exe file (!) You do **not** have to create a DLL file, "
319+
"and this also simplifies linking."
320320
msgstr ""
321321
"如果你使用 SWIG,則可輕鬆地建立一個 Python 「擴充模組」,該模組將使應用程式的"
322322
"資料和 method(方法)可供 Python 使用。SWIG 會為你處理幾乎所有的繁瑣細節。結"
323-
"果就是,你會將 C 程式碼連結\\ *到*\\ 你的 .exe 檔裡(!)你不必建立 DLL 檔,"
324-
"而這也簡化了連結。"
323+
"果就是,你會將 C 程式碼連結\\ *到*\\ 你的 .exe 檔裡(!)\\ **不必**\\"
324+
"立 DLL 檔,而這也簡化了連結。"
325325

326326
#: ../../faq/windows.rst:197
327327
msgid ""
@@ -361,14 +361,14 @@ msgstr ""
361361

362362
#: ../../faq/windows.rst:221
363363
msgid ""
364-
"Problem 1: The so-called \"Very High Level\" functions that take FILE * "
364+
"Problem 1: The so-called \"Very High Level\" functions that take ``FILE *`` "
365365
"arguments will not work in a multi-compiler environment because each "
366-
"compiler's notion of a struct FILE will be different. From an "
367-
"implementation standpoint these are very _low_ level functions."
366+
"compiler's notion of a ``struct FILE`` will be different. From an "
367+
"implementation standpoint these are very low level functions."
368368
msgstr ""
369-
"問題 1:使用 FILE * 引數的所謂「非常高階」的函式,在多編譯器 (multi-"
370-
"compiler) 的環境中會無法作用,因為每個編譯器對 struct FILE 的概念不同。從實作"
371-
"的觀點來看,這些都是非常「低階」的函式。"
369+
"問題 1:使用 ``FILE *`` 引數的所謂「非常高階」的函式,在多編譯器 (multi-"
370+
"compiler) 的環境中會無法作用,因為每個編譯器對 ``struct FILE`` 的概念不同。"
371+
"實作的觀點來看,這些都是非常\\ _低階_\\ 的函式。"
372372

373373
#: ../../faq/windows.rst:226
374374
msgid ""

0 commit comments

Comments
 (0)
0