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

Commit9f12914

Browse files
committed
fix: resolve warnings found by sphinx-lint
1 parentf87ad38 commit9f12914

File tree

17 files changed

+325
-301
lines changed

17 files changed

+325
-301
lines changed

‎c-api/arg.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,15 +783,15 @@ msgstr "``f`` (:class:`float`) [float]"
783783

784784
#:../../c-api/arg.rst:320
785785
msgid"Convert a Python floating point number to a C :c:expr:`float`."
786-
msgstr"將一個 Python 浮點數轉換成 C 的 :c:type::c:expr:`float`。"
786+
msgstr"將一個 Python 浮點數轉換成 C 的 :c:expr:`float`。"
787787

788788
#:../../c-api/arg.rst:323../../c-api/arg.rst:644
789789
msgid"``d`` (:class:`float`) [double]"
790790
msgstr"``d`` (:class:`float`) [double]"
791791

792792
#:../../c-api/arg.rst:323
793793
msgid"Convert a Python floating point number to a C :c:expr:`double`."
794-
msgstr"將一個 Python 浮點數轉換成 C 的 :c:type::c:expr:`double`。"
794+
msgstr"將一個 Python 浮點數轉換成 C 的 :c:expr:`double`。"
795795

796796
#:../../c-api/arg.rst:326
797797
msgid"``D`` (:class:`complex`) [Py_complex]"

‎c-api/concrete.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ msgid ""
4646
"can cause memory access violations and immediate termination of the "
4747
"interpreter."
4848
msgstr""
49-
"雖然本章所述之函式仔細地檢查了傳入物件的型別,但大多並無檢查是否為 `NULL``。"
49+
"雖然本章所述之函式仔細地檢查了傳入物件的型別,但大多並無檢查是否為 ``NULL``。"
5050
"允許 ``NULL`` 的傳入可能造成記憶體的不合法存取和直譯器的立即中止。"
5151

5252
#:../../c-api/concrete.rst:28

‎c-api/init_config.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ msgstr "對於錯誤,它可以儲存建立錯誤的 C 函式名稱。"
171171

172172
#:../../c-api/init_config.rst:128
173173
msgid"Exit code. Argument passed to ``exit()``."
174-
msgstr"退出程式碼。傳遞引數給 `exit()``。"
174+
msgstr"退出程式碼。傳遞引數給 ``exit()``。"
175175

176176
#:../../c-api/init_config.rst:132
177177
msgid"Error message."

‎c-api/typehints.po‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ msgid ""
4949
msgstr""
5050
"建立一個 :ref:`GenericAlias <types-genericalias>` 物件,等同於呼叫 Python "
5151
"的 :class:`types.GenericAlias` class。*origin* 和 *args* 引數分別設定了 "
52-
"`GenericAlias`` 的 ``__origin__`` 與 ``__args__`` 屬性。*origin*應該要是個 :"
53-
"c:expr:`PyTypeObject*` 且 *args* 可以是個 :c:expr:`PyTupleObject*`或任意"
54-
"``PyObject*``。如果傳入的 *args* 不是個 tuple(元組),則會自動建立一個長度"
55-
" 1 的 tuple 且 ``__args__`` 會被設為 ``(args,)``。只會進行最少的引數檢查,"
56-
"所以即便 *origin* 不是個型別,函式也會不會失敗。``GenericAlias`` 的 "
52+
"``GenericAlias`` 的 ``__origin__`` 與 ``__args__`` 屬性。*origin*應該要是"
53+
"個 :c:expr:`PyTypeObject*` 且 *args* 可以是個 :c:expr:`PyTupleObject*`或任"
54+
"``PyObject*``。如果傳入的 *args* 不是個 tuple(元組),則會自動建立一個長"
55+
"度為 1 的 tuple 且 ``__args__`` 會被設為 ``(args,)``。只會進行最少的引數檢"
56+
"查,所以即便 *origin* 不是個型別,函式也會不會失敗。``GenericAlias`` 的 "
5757
"``__parameters__`` 屬性會自 ``__args__`` 惰性地建立 (constructed lazily)。當"
58-
"失敗時,會引發一個例外並回傳``NULL``。"
58+
"失敗時,會引發一個例外並回傳``NULL``。"
5959

6060
#:../../c-api/typehints.rst:28
6161
msgid"Here's an example of how to make an extension type generic::"

‎library/__future__.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ msgstr ""
106106
msgid""
107107
"*MandatoryRelease* may also be ``None``, meaning that a planned feature got "
108108
"dropped."
109-
msgstr"*MandatoryRelease* 也可能是``None``,這意味著計劃中的功能被刪除了。"
109+
msgstr"*MandatoryRelease* 也可能是``None``,這意味著計劃中的功能被刪除了。"
110110

111111
#:../../library/__future__.rst:54
112112
#,fuzzy

‎library/__main__.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ msgstr "程式頂層環境的名稱,可以使用 ``__name__ == '__main__'``
3838

3939
#:../../library/__main__.rst:14
4040
msgid"the ``__main__.py`` file in Python packages."
41-
msgstr"Python 套件中的``__main__.py`` 檔案。"
41+
msgstr"Python 套件中的``__main__.py`` 檔案。"
4242

4343
#:../../library/__main__.rst:16
4444
#,fuzzy

‎library/argparse.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ msgstr "未提供參數時使用的預設值"
160160

161161
#:../../library/argparse.rst:66
162162
msgid"Defaults to ``None``"
163-
msgstr"預設為 ``None``"
163+
msgstr"預設為 ``None``"
164164

165165
#:../../library/argparse.rst:67
166166
msgid"dest_"

‎library/datetime.po‎

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

13101310
#:../../library/datetime.rst:838
13111311
msgid"``MINYEAR <= year <= MAXYEAR``,"
1312-
msgstr"``MINYEAR <= year <= MAXYEAR``,"
1312+
msgstr"``MINYEAR <= year <= MAXYEAR``,"
13131313

13141314
#:../../library/datetime.rst:839
13151315
msgid"``1 <= month <= 12``,"

‎library/functions.po‎

Lines changed: 303 additions & 279 deletions
Large diffs are not rendered by default.

‎library/imp.po‎

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

255255
#:../../library/imp.rst:141
256256
msgid"When ``reload(module)`` is executed:"
257-
msgstr"當執行``reload(module)`` 時:"
257+
msgstr"當執行``reload(module)`` 時:"
258258

259259
#:../../library/imp.rst:143
260260
#,fuzzy

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp