Translate c-api/{allocation,cell,gen}.po#179
Merged
mattwang44 merged 4 commits intopython:3.11from Dec 30, 2022
Merged
Conversation
ezio-melotti
reviewed
Aug 4, 2022
Comment on lines
+41
to
+46
| "\"Cell\" 物件用於實現被多個作用域所參照 (reference) 的變數。對於每個這樣的變" | ||
| "數,都會有個 cell 物件為了儲存該值而被建立;參照該值的每個 stack frame 中的區" | ||
| "域性變數包含外部作用域的 cell 參照,它同樣使用了該變數。訪問該值時,將使用 " | ||
| "cell 中包含的值而不是單元格物件本身。這種對“Cell”物件的非關聯化的參照需要支援" | ||
| "生成的位元組碼;訪問時不會自動非關聯化這些內容。Cell 物件在其他地方可能不太有" | ||
| "用。" |
Member
There was a problem hiding this comment.
爲什麼這個使用\"Cell\",“Cell”和Cell?
| "Return true if *ob* is a cell object; *ob* must not be ``NULL``. This " | ||
| "function always succeeds." | ||
| msgstr "" | ||
| "如果 *ob* 是一個 cell 物件則回傳真值;\\ *ob* 必須不為 ``NULL``\\ 。此函式總" |
Member
There was a problem hiding this comment.
Suggested change
| "如果 *ob* 是一個 cell 物件則回傳真值;\\ *ob* 必須不為 ``NULL``\\ 。此函式總" | |
| "如果 *ob* 是一個 cell 物件則回傳真值;*ob* 必須不為 ``NULL``。此函式總" |
| "detector's set of observed objects. Other fields of the object are not " | ||
| "affected." | ||
| msgstr "" | ||
| "用它的型別和初始參照來初始化新分配物件 *op*\\ 。已初始化的物件會被回傳。如果 " |
Member
There was a problem hiding this comment.
Suggested change
| "用它的型別和初始參照來初始化新分配物件 *op*\\ 。已初始化的物件會被回傳。如果 " | |
| "用它的型別和初始參照來初始化新分配物件 *op*。已初始化的物件會被回傳。如果 " |
| "using the :c:macro:`Py_None` macro, which evaluates to a pointer to this " | ||
| "object." | ||
| msgstr "" | ||
| "這個物件像是 Python 中的 ``None``\\ 。它只應該透過 :c:macro:`Py_None` 巨集來" |
Member
There was a problem hiding this comment.
Suggested change
| "這個物件像是 Python 中的 ``None``\\ 。它只應該透過 :c:macro:`Py_None` 巨集來" | |
| "這個物件像是 Python 中的 ``None``。它只應該透過 :c:macro:`Py_None` 巨集來" |
| "Create and return a new cell object containing the value *ob*. The parameter " | ||
| "may be ``NULL``." | ||
| msgstr "" | ||
| msgstr "建立並回傳一個包含 *ob* 的新 cell 物件。參數可以為 ``NULL``\\ 。" |
Member
There was a problem hiding this comment.
Suggested change
| msgstr "建立並回傳一個包含 *ob* 的新 cell 物件。參數可以為 ``NULL``\\ 。" | |
| msgstr "建立並回傳一個包含 *ob* 的新 cell 物件。參數可以為 ``NULL``。" |
| msgstr "" | ||
| "產生器物件是 Python 用來實現產生器疊代器 (generator iterator) 的物件。它們通" | ||
| "常透過疊代會產生值的函式來建立,而不是顯式呼叫 :c:func:`PyGen_New` 或 :c:" | ||
| "func:`PyGen_NewWithQualName`\\ 。" |
Member
There was a problem hiding this comment.
Suggested change
| "func:`PyGen_NewWithQualName`\\ 。" | |
| "func:`PyGen_NewWithQualName`。" |
Comment on lines
+53
to
+54
| "如果 *ob* 是一個產生器 (generator) 物件則回傳真值;*ob* 必須不為 ``NULL``" | ||
| "\\ 。此函式總是會成功執行。" |
Member
There was a problem hiding this comment.
Suggested change
| "如果 *ob* 是一個產生器 (generator) 物件則回傳真值;*ob* 必須不為 ``NULL``" | |
| "\\ 。此函式總是會成功執行。" | |
| "如果 *ob* 是一個產生器 (generator) 物件則回傳真值;*ob* 必須不為 ``NULL``" | |
| "。此函式總是會成功執行。" |
Comment on lines
+61
to
+62
| "如果 *ob* 的型別是 :c:type:`PyGen_Type` 則回傳真值;*ob* 必須不為 ``NULL``" | ||
| "\\ 。此函式總是會成功執行。" |
Member
There was a problem hiding this comment.
Suggested change
| "如果 *ob* 的型別是 :c:type:`PyGen_Type` 則回傳真值;*ob* 必須不為 ``NULL``" | |
| "\\ 。此函式總是會成功執行。" | |
| "如果 *ob* 的型別是 :c:type:`PyGen_Type` 則回傳真值;*ob* 必須不為 ``NULL``" | |
| "。此函式總是會成功執行。" |
Comment on lines
+70
to
+71
| "基於 *frame* 物件建立並回傳一個新的產生器物件。此函式會取走一個對 *frame* 的" | ||
| "參照 (reference)。引數必須不為 ``NULL``\\ 。" |
Member
There was a problem hiding this comment.
Suggested change
| "基於 *frame* 物件建立並回傳一個新的產生器物件。此函式會取走一個對 *frame* 的" | |
| "參照 (reference)。引數必須不為 ``NULL``\\ 。" | |
| "基於 *frame* 物件建立並回傳一個新的產生器物件。此函式會取走一個對 *frame* 的" | |
| "參照 (reference)。引數必須不為 ``NULL``。" |
Comment on lines
+80
to
+82
| "基於 *frame* 物件建立並回傳一個新的產生器物件,其中 ``__name__`` 和 " | ||
| "``__qualname__`` 設為 *name* 和 *qualname*\\ 。此函式會取走一個對 *frame* 的" | ||
| "參照。*frame* 引數必須不為 ``NULL``\\ 。" |
Member
There was a problem hiding this comment.
Suggested change
| "基於 *frame* 物件建立並回傳一個新的產生器物件,其中 ``__name__`` 和 " | |
| "``__qualname__`` 設為 *name* 和 *qualname*\\ 。此函式會取走一個對 *frame* 的" | |
| "參照。*frame* 引數必須不為 ``NULL``\\ 。" | |
| "基於 *frame* 物件建立並回傳一個新的產生器物件,其中 ``__name__`` 和 " | |
| "``__qualname__`` 設為 *name* 和 *qualname*。此函式會取走一個對 *frame* 的" | |
| "參照。*frame* 引數必須不為 ``NULL``。" |
267bc18 to
7b0e6dc
Compare
7b0e6dc to
ee948a6
Compare
b6e4f01 to
0acc6d0
Compare
0acc6d0 to
67b6d23
Compare
67b6d23 to
08a8a6c
Compare
beccalzh
pushed a commit
to beccalzh/python-docs-zh-tw
that referenced
this pull request
Sep 4, 2024
Translate `c-api/{allocation,cell,gen}.po`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix #178