@@ -54,12 +54,15 @@ msgid ""
5454"paths prepended to ``sys.path``, which is used to locate the module source "
5555"code."
5656msgstr ""
57+ "返回一个将模块层级的类名映射到类描述器的字典。 如果可能,将会包括已导入基类的描述器。 形参 *module* "
58+ "为要读取模块名称的字符串;它可能是某个包内部的模块名称。 *path* 如果给出则为添加到 ``sys.path`` "
59+ "开头的目录路径序列,它会被用于定位模块的源代码。"
5760
5861#: ../../library/pyclbr.rst:32
5962msgid ""
6063"This function is the original interface and is only kept for back "
6164"compatibility. It returns a filtered version of the following."
62- msgstr ""
65+ msgstr "此函数为原始接口,仅保留用于向下兼容。 它会返回以下内容的过滤版本。 "
6366
6467#: ../../library/pyclbr.rst:38
6568msgid ""
@@ -72,18 +75,22 @@ msgid ""
7275" read is a package, the returned dictionary has a key ``'__path__'`` whose "
7376"value is a list containing the package search path."
7477msgstr ""
78+ "返回一个基于字典的树,其中包含与模块中每个用 ``def`` 或 ``class`` 语句定义的函数和类相对应的函数和类描述器。 "
79+ "被返回的字典会将模块层级的函数和类名映射到它们的描述器。 嵌套的对象会被输入到它们的上级子目录中。 与 readmodule 一样,*module* "
80+ "指明要读取的模块而 *path* 会被添加到 sys.path。 如果被读取的模块是一个包,则返回的字典将具有 ``'__path__'`` "
81+ "键,其值是一个包含包搜索路径的列表。"
7582
7683#: ../../library/pyclbr.rst:48
7784msgid ""
7885"Descriptors for nested definitions. They are accessed through the new "
7986"children attribute. Each has a new parent attribute."
80- msgstr ""
87+ msgstr "嵌套定义的描述器。 它们通过新的子属性来访问。 每个定义都会有一个新的上级属性。 "
8188
8289#: ../../library/pyclbr.rst:52
8390msgid ""
8491"The descriptors returned by these functions are instances of Function and "
8592"Class classes. Users are not expected to create instances of these classes."
86- msgstr ""
93+ msgstr "这些函数所返回的描述器是 Function 和 Class 类的实例。 用户不应自行创建这些类的实例。 "
8794
8895#: ../../library/pyclbr.rst:60
8996msgid "Function Objects"
@@ -93,11 +100,11 @@ msgstr "函数对象"
93100msgid ""
94101"Class :class:`Function` instances describe functions defined by def "
95102"statements. They have the following attributes:"
96- msgstr ""
103+ msgstr ":class:`Function` 类的实例描述了由 def 语句所定义的函数。 它们具有下列属性: "
97104
98105#: ../../library/pyclbr.rst:67
99106msgid "Name of the file in which the function is defined."
100- msgstr ""
107+ msgstr "函数定义所在的文件名。 "
101108
102109#: ../../library/pyclbr.rst:72
103110msgid "The name of the module defining the function described."
0 commit comments