From ea699457b9c327b8223c5550b700a08f5688e058 Mon Sep 17 00:00:00 2001 From: Matt Wang Date: Sat, 12 Jul 2025 19:04:07 +0800 Subject: [PATCH] fix syntax issue found by sphinx-lint --- README.rst | 2 +- library/asyncio.po | 2 +- library/xml.sax.utils.po | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 4a5fcd7f1e..0fa98b4abc 100644 --- a/README.rst +++ b/README.rst @@ -52,7 +52,7 @@ the PSF for inclusion in the documentation. 請注意此予翻譯專案的授權:Python 的說明文件是以全球的志工社群來維護。透過張貼\ 此專案在 Transifex、GitHub 以及其他公眾場合,以及邀請你參與,我們向你提出一個\ 協議:你必須將你對於 Python 說明文件或是 Python 說明文件翻譯的貢獻以 CC0\ -(請參考 https://creativecommons.org/publicdomain/zero/1.0/legalcode/ +(請參考 https://creativecommons.org/publicdomain/zero/1.0/legalcode/ )的方式授權給 PSF 使用。你可以公開地聲明你所貢獻翻譯的部分,並且如果你的翻譯被 PSF 採用,你可以(但並不須要)送出一個修改,其包含在 Misc/ACKS 或是 TRANSLATORS 檔案裡增加合適的注釋。雖然這個說明文件貢獻協議並沒有說明 PSF 有義務納入你的\ diff --git a/library/asyncio.po b/library/asyncio.po index 996c4a1340..1d0919783b 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -194,7 +194,7 @@ msgstr "" msgid "" "Raises an :ref:`auditing event ` ``cpython.run_stdin`` with no " "arguments." -msgstr "產生一個 :ref:`稽核事件 ` `cpython.run_stdin`` 且沒有引數。" +msgstr "產生一個 :ref:`稽核事件 ` ``cpython.run_stdin`` 且沒有引數。" #: ../../library/asyncio.rst:79 msgid "(also 3.11.10, 3.10.15, 3.9.20, and 3.8.20) Emits audit events." diff --git a/library/xml.sax.utils.po b/library/xml.sax.utils.po index fdab8c2f2d..4434364d92 100644 --- a/library/xml.sax.utils.po +++ b/library/xml.sax.utils.po @@ -122,7 +122,7 @@ msgstr "" "這個類別透過將 SAX 事件寫回 XML 文件來實" "作 :class:`~xml.sax.handler.ContentHandler` 介面。換句話說,使" "用 :class:`XMLGenerator` 作為內容處理器將會重現被剖析的原始文件。*out* 應該" -"是類檔案物件,預設為 *sys.stdout*。*encoding* 是輸出串流的編碼,預設為" +"是類檔案物件,預設為 *sys.stdout*。*encoding* 是輸出串流的編碼,預設為 " "``'iso-8859-1'``。*short_empty_elements* 控制不包含內容的元素的格式:如果設" "定為 ``False``\\ (預設值),它們會以一對開始/結束(start/end)標籤的形式輸出;如果設定為 " "``True``,它們會以單一自封(self-closed)標籤的形式輸出。"