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

Commit3c5cf39

Browse files
Apply suggestions from code review
Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
1 parent5ad3fe9 commit3c5cf39

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎c-api/call.po‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ msgstr ""
9696
"經驗法則上,如果可呼叫物件有支援,CPython 於內部呼叫中會更傾向使用 "
9797
"vectorcall。然而,這並不是一個硬性規定。此外,有些第三方擴充套件會直接使用 "
9898
"*tp_call*\\ (而不是使用 :c:func:`PyObject_Call`)。因此,一個支援 "
99-
"vectorcall的類別也必須實現 :c:member:`~PyTypeObject.tp_call`。此外,無論使用"
99+
"vectorcall的類別也必須實作 :c:member:`~PyTypeObject.tp_call`。此外,無論使用"
100100
"哪種協定,可呼叫物件的行為都必須是相同的。要達成這個目的的推薦做法是將 :c:"
101101
"member:`~PyTypeObject.tp_call` 設定為 :c:func:`PyVectorcall_Call`。這值得一再"
102102
"提醒:"
@@ -139,7 +139,7 @@ msgstr "*callable* 是指被呼叫的物件。"
139139
#:../../c-api/call.rst:75
140140
msgid""
141141
"*args* is a C array consisting of the positional arguments followed by the"
142-
msgstr"*args* 是一個 C 語言陣列 (array),包含位置參數與後面"
142+
msgstr"*args* 是一個 C 語言陣列 (array),包含位置引數與後面"
143143

144144
#:../../c-api/call.rst:75
145145
msgid""
@@ -149,7 +149,7 @@ msgstr "關鍵字引數的值。如果沒有引數,這個值可以是 *NULL*
149149

150150
#:../../c-api/call.rst:79
151151
msgid"*nargsf* is the number of positional arguments plus possibly the"
152-
msgstr"*nargsf*是位置參數的數量加上可能會有的"
152+
msgstr"*nargsf*是位置引數的數量加上可能會有的"
153153

154154
#:../../c-api/call.rst:78
155155
msgid""
@@ -161,7 +161,7 @@ msgstr ""
161161

162162
#:../../c-api/call.rst:85
163163
msgid"*kwnames* is a tuple containing the names of the keyword arguments;"
164-
msgstr"*kwnames*是一包含所有關鍵字引數名稱的 tuple;"
164+
msgstr"*kwnames*是一個包含所有關鍵字引數名稱的 tuple;"
165165

166166
#:../../c-api/call.rst:82
167167
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp