Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit740e410

Browse files
pydoc-zh-tw[bot]mattwang44
authored andcommitted
Sync with CPython 3.13 (#990)
1 parent950d450 commit740e410

File tree

63 files changed

+5866
-5214
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+5866
-5214
lines changed

‎c-api/allocation.po

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2022, Python Software Foundation
1+
# Copyright (C) 2001-2024, Python Software Foundation
32
# This file is distributed under the same license as the Python package.
43
#
54
# Translators:
@@ -10,7 +9,7 @@ msgid ""
109
msgstr ""
1110
"Project-Id-Version:Python 3.13\n"
1211
"Report-Msgid-Bugs-To:\n"
13-
"POT-Creation-Date:2023-08-09 00:03+0000\n"
12+
"POT-Creation-Date:2024-11-06 00:13+0000\n"
1413
"PO-Revision-Date:2022-10-16 15:35+0800\n"
1514
"Last-Translator:Matt Wang <mattwang44@gmail.com>\n"
1615
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -29,24 +28,21 @@ msgstr "在 heap 上分配物件"
2928
#:../../c-api/allocation.rst:17
3029
msgid""
3130
"Initialize a newly allocated object *op* with its type and initial "
32-
"reference. Returns the initialized object. If *type* indicates that the "
33-
"object participates in the cyclic garbage detector, it is added to the "
34-
"detector's set of observed objects. Other fields of the object are not "
35-
"affected."
31+
"reference. Returns the initialized object. Other fields of the object are "
32+
"not affected."
3633
msgstr""
37-
"用它的型別和初始參照來初始化新分配物件 *op*。已初始化的物件會被回傳。如果 "
38-
"*type* 表示了該物件參與迴圈垃圾檢查器,則將其新增到檢查器的觀察物件集合中。物"
39-
"件的其他欄位不受影響。"
34+
"用它的型別和初始參照來初始化新分配物件 *op*。已初始化的物件會被回傳。物件的其"
35+
"他欄位不受影響。"
4036

41-
#:../../c-api/allocation.rst:26
37+
#:../../c-api/allocation.rst:24
4238
msgid""
4339
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
4440
"length information for a variable-size object."
4541
msgstr""
4642
"它會做到 :c:func:`PyObject_Init` 的所有功能,並且會初始化一個大小可變物件的長"
4743
"度資訊。"
4844

49-
#:../../c-api/allocation.rst:32
45+
#:../../c-api/allocation.rst:30
5046
msgid""
5147
"Allocate a new Python object using the C structure type *TYPE* and the "
5248
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -60,7 +56,7 @@ msgstr ""
6056
"化;呼叫者會擁有那個對於物件的唯一參照(物件的參照計數為一)。記憶體分配大小"
6157
"由 type 物件的 :c:member:`~PyTypeObject.tp_basicsize` 欄位來指定。"
6258

63-
#:../../c-api/allocation.rst:43
59+
#:../../c-api/allocation.rst:41
6460
msgid""
6561
"Allocate a new Python object using the C structure type *TYPE* and the "
6662
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -79,7 +75,7 @@ msgstr ""
7975
"於實現如 tuple 這種能夠在建立期間決定自己大小的物件是很實用的。將欄位的陣列嵌"
8076
"入到相同的記憶體分配中可以減少記憶體分配的次數,這提高了記憶體管理的效率。"
8177

82-
#:../../c-api/allocation.rst:57
78+
#:../../c-api/allocation.rst:55
8379
msgid""
8480
"Releases memory allocated to an object using :c:macro:`PyObject_New` or :c:"
8581
"macro:`PyObject_NewVar`. This is normally called from the :c:member:"
@@ -92,7 +88,7 @@ msgstr ""
9288
"handler 中呼叫。呼叫這個函式以後,物件的各欄位都不可以被存取,因為原本分配的"
9389
"記憶體已不再是一個有效的 Python 物件。"
9490

95-
#:../../c-api/allocation.rst:66
91+
#:../../c-api/allocation.rst:64
9692
msgid""
9793
"Object which is visible in Python as ``None``. This should only be accessed "
9894
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
@@ -101,10 +97,10 @@ msgstr ""
10197
"這個物件像是 Python 中的 ``None``。它只應該透過 :c:macro:`Py_None` 巨集來存"
10298
"取,該巨集的拿到指向該物件的指標。"
10399

104-
#:../../c-api/allocation.rst:73
100+
#:../../c-api/allocation.rst:71
105101
msgid":c:func:`PyModule_Create`"
106102
msgstr":c:func:`PyModule_Create`"
107103

108-
#:../../c-api/allocation.rst:74
104+
#:../../c-api/allocation.rst:72
109105
msgid"To allocate and create extension modules."
110106
msgstr"分配記憶體和建立擴充模組。"

‎c-api/arg.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ msgstr ""
820820

821821
#:../../c-api/arg.rst:465
822822
msgid"Example::"
823-
msgstr""
823+
msgstr"舉例來說: ::"
824824

825825
#:../../c-api/arg.rst:467
826826
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp