@@ -108,24 +108,24 @@ msgstr "函数定义所在的文件名。"
108108
109109#: ../../library/pyclbr.rst:72
110110msgid "The name of the module defining the function described."
111- msgstr ""
111+ msgstr "定义了所描述函数的模块名。 "
112112
113113#: ../../library/pyclbr.rst:77
114114msgid "The name of the function."
115- msgstr ""
115+ msgstr "函数名称。 "
116116
117117#: ../../library/pyclbr.rst:82 ../../library/pyclbr.rst:125
118118msgid "The line number in the file where the definition starts."
119- msgstr ""
119+ msgstr "定义在文件中起始位置的行号。 "
120120
121121#: ../../library/pyclbr.rst:87
122122msgid "For top-level functions, None. For nested functions, the parent."
123- msgstr ""
123+ msgstr "对于最高层级函数为 None。 对于嵌套函数则为上级函数。 "
124124
125125#: ../../library/pyclbr.rst:94 ../../library/pyclbr.rst:137
126126msgid ""
127127"A dictionary mapping names to descriptors for nested functions and classes."
128- msgstr ""
128+ msgstr "将名称映射到嵌套函数和类描述器的字典。 "
129129
130130#: ../../library/pyclbr.rst:103
131131msgid "Class Objects"
@@ -136,22 +136,23 @@ msgid ""
136136"Class :class:`Class` instances describe classes defined by class statements."
137137" They have the same attributes as Functions and two more."
138138msgstr ""
139+ ":class:`Class` 类的实例描述了由 class 语句所定义的类。 它们具有与 Function 对象相同的属性以及两个额外属性。"
139140
140141#: ../../library/pyclbr.rst:110
141142msgid "Name of the file in which the class is defined."
142- msgstr ""
143+ msgstr "类定义所在的文件名称。 "
143144
144145#: ../../library/pyclbr.rst:115
145146msgid "The name of the module defining the class described."
146- msgstr ""
147+ msgstr "定义了所描述类的模块名称。 "
147148
148149#: ../../library/pyclbr.rst:120
149150msgid "The name of the class."
150- msgstr ""
151+ msgstr "类名称。 "
151152
152153#: ../../library/pyclbr.rst:130
153154msgid "For top-level classes, None. For nested classes, the parent."
154- msgstr ""
155+ msgstr "对于最高层级类为 None。 对于嵌套类则为上级类。 "
155156
156157#: ../../library/pyclbr.rst:145
157158msgid ""
@@ -160,9 +161,11 @@ msgid ""
160161"which are not discoverable by :func:`readmodule_ex` are listed as a string "
161162"with the class name instead of as :class:`Class` objects."
162163msgstr ""
164+ "一个 :class:`Class` 对象的列表,它们描述了所描述类的直接基类。 被命名为超类但无法被 :func:`readmodule_ex` "
165+ "发现的类会作为类名字符串而非 :class:`Class` 对象列出。"
163166
164167#: ../../library/pyclbr.rst:154
165168msgid ""
166169"A dictionary mapping method names to line numbers. This can be derived from"
167170" the newer children dictionary, but remains for back-compatibility."
168- msgstr ""
171+ msgstr "一个将方法名映射到行号的字典。 此属性可从更新的子目录中获取,仅保留用于向下兼容。 "
0 commit comments