Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cff52f6

Browse files
Apply suggestions from code review
Co-authored-by: W. H. Wang <[email protected]>
1 parent 7089f93 commit cff52f6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

library/pyclbr.po

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ msgid ""
3838
"use this module with modules not implemented in Python, including all "
3939
"standard and optional extension modules."
4040
msgstr ""
41-
":mod:`pyclbr` 模組可以提供一個使用 Python 編碼的模組中定義的函式、類別和方法的"
41+
":mod:`pyclbr` 模組可以提供一個使用 Python 編寫的模組中定義的函式、類別和方法的"
4242
"有限資訊。 這些資訊足以實作一個模組瀏覽器。這些資訊是從 Python 原始碼中抽取"
4343
"出來的,而不是透過引入模組,因此這個模組可以安全地與不信任的程式碼一起使用。"
4444
"此限制使得此模組無法與非 Python 實作的模組一起使用,包括所有標準與可選的擴充"
@@ -53,16 +53,16 @@ msgid ""
5353
"paths prepended to ``sys.path``, which is used to locate the module source "
5454
"code."
5555
msgstr ""
56-
"回傳模組層級的類別名稱與類別描述器對應的字典。 如果可能的話,會包含引入基底類別"
57-
"的描述器。 參數 *module* 是包含要讀取的模組名稱的字串;它可以是套件中的模組"
58-
"名稱。 如果給定,*path* 是以 ``sys.path`` 為前綴的目錄路徑序列,用來定位模組"
56+
"回傳模組層級的類別名稱與類別描述器對應的字典。如果可能的話,會包含引入基底類別"
57+
"的描述器。參數 *module* 是包含要讀取的模組名稱的字串;它可以是套件中的模組"
58+
"名稱。如果給定,*path* 是以 ``sys.path`` 為前綴的目錄路徑序列,用來定位模組"
5959
"原始碼。"
6060

6161
#: ../../library/pyclbr.rst:32
6262
msgid ""
6363
"This function is the original interface and is only kept for back "
6464
"compatibility. It returns a filtered version of the following."
65-
msgstr "此函式為原始介面,僅保留用於向後相容性。它會傳回以下經過篩選的版本。"
65+
msgstr "此函式為原始介面,僅保留用於向後相容性。它會回傳以下經過篩選的版本。"
6666

6767
#: ../../library/pyclbr.rst:38
6868
msgid ""
@@ -75,8 +75,8 @@ msgid ""
7575
"read is a package, the returned dictionary has a key ``'__path__'`` whose "
7676
"value is a list containing the package search path."
7777
msgstr ""
78-
"回傳一個以字典為基礎的樹狀結構,包含在模組中以 `def` 或 `class` 陳述式定義的每"
79-
"個函式和類別的函式或類別描述器。 回傳的字典會將模組層級的函式和類別名稱映射"
78+
"回傳一個以字典為基礎的樹狀結構,包含在模組中以 ``def`` 或 ``class`` 陳述式定義的每"
79+
"個函式和類別的函式或類別描述器。 回傳的字典會將模組層級的函式和類別名稱對映"
8080
"到它們的描述器。 巢狀物件會輸入其父物件的子字典。 與 readmodule 一樣,"
8181
"*module* 會命名要讀取的模組,而 *path* 則會預先加入 sys.path。 如果要讀取的"
8282
"模組是一個套件,回傳的字典有一個 key ``'__path__'``,其值是一個包含套件搜尋路"
@@ -185,8 +185,8 @@ msgid ""
185185
"which are not discoverable by :func:`readmodule_ex` are listed as a string "
186186
"with the class name instead of as :class:`!Class` objects."
187187
msgstr ""
188-
"描述被描述類別的直接基底類別的 :class:`!Class` 物件串列。 被命名為超類(superclasses"
189-
")但無法被 :func:`readmodule_ex` 發現的類別會以類名的字串形式列出,而不是 :class:`!"
188+
"描述被描述類別的直接基底類別的 :class:`!Class` 物件串列。 被命名為超類別(superclasses"
189+
")但無法被 :func:`readmodule_ex` 發現的類別會以類別名稱的字串形式列出,而不是 :class:`!"
190190
"Class` 物件。"
191191

192192
#: ../../library/pyclbr.rst:169

0 commit comments

Comments
 (0)