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

Commit4dc964c

Browse files
committed
fix: resolve warnings found by sphinx-lint
1 parent5295b22 commit4dc964c

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

‎library/os.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4665,7 +4665,7 @@ msgid ""
46654665
"Raises an :ref:`auditing event <auditing>` ``os.utime`` with arguments "
46664666
"``path``, ``times``, ``ns``, ``dir_fd``."
46674667
msgstr""
4668-
"引發一個附帶引數 ``path``、``times``、``ns`、``dir_fd`` 的\\ :ref:`稽核事件 <auditing>` ``os.utime``。"
4668+
"引發一個附帶引數 ``path``、``times``、``ns``、``dir_fd`` 的\\ :ref:`稽核事件 <auditing>` ``os.utime``。"
46694669

46704670
#:../../library/os.rst:3198
46714671
#,fuzzy

‎library/test.po

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

634634
#:../../library/test.rst:416
635635
msgid"Return ``True`` if Python was not built with ``-O0`` or ``-Og``."
636-
msgstr"如果 Python 不是使用 ``-O0``或 ``-Og`` 建置的則回傳 ``True``。"
636+
msgstr"如果 Python 不是使用 ``-O0``或 ``-Og`` 建置的則回傳 ``True``。"
637637

638638
#:../../library/test.rst:421
639639
msgid"Return :data:`_testcapi.WITH_PYMALLOC`."

‎library/tkinter.ttk.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ msgstr "指定一個名稱,其值將用於代替文本選項資源。"
345345

346346
#:../../library/tkinter.ttk.rst:178../../library/tkinter.ttk.rst:530
347347
msgid"underline"
348-
msgstr"underline""
348+
msgstr"underline"
349349

350350
#:../../library/tkinter.ttk.rst:178
351351
#,fuzzy

‎library/unittest.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ msgid ""
515515
"equivalent::"
516516
msgstr""
517517
":option:`-s`, :option:`-p`, 和 :option:`-t` 選項依照傳遞位置作為引數排序順"
518-
"序。以下兩個命令列被視為等價:\n"
518+
"序。以下兩個命令列被視為等價\n"
519519
"\n"
520520
"::"
521521

‎sphinx.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ msgstr "Python 開發者指南"
296296
msgid""
297297
"This document is for an old version of Python that is no longer supported.\n"
298298
" You should upgrade, and read the "
299-
msgstr"這份說明文件是寫給一個不再被支援的舊版 Python。你應該升級,並閱讀"
299+
msgstr"這份說明文件是寫給一個不再被支援的舊版 Python。你應該升級,並閱讀"
300300

301301
#:../../tools/templates/layout.html:8
302302
msgid" Python documentation for the current stable release"

‎tutorial/stdlib2.po

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

152152
#:../../tutorial/stdlib2.rst:134
153153
msgid"Working with Binary Data Record Layouts"
154-
msgstr"二進制資料記錄編排 (Binary Data Record Layouts)"
154+
msgstr"二進制資料記錄編排 (Binary Data Record Layouts)"
155155

156156
#:../../tutorial/stdlib2.rst:136
157157
msgid""

‎whatsnew/3.3.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4288,7 +4288,7 @@ msgid ":c:func:`PyUnicode_ReadChar`, :c:func:`PyUnicode_WriteChar`"
42884288
msgstr":c:func:`PyUnicode_ReadChar`, :c:func:`PyUnicode_WriteChar`"
42894289

42904290
#:../../whatsnew/3.3.rst:2188
4291-
#,fuzzy
4291+
msgid"Low-level API:"
42924292
msgstr"低階 API:"
42934293

42944294
#:../../whatsnew/3.3.rst:2190

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp