@@ -200,10 +200,12 @@ msgid ""
200200"signify the absence of a value in many situations, e.g., it is returned from"
201201" functions that don't explicitly return anything. Its truth value is false."
202202msgstr ""
203+ "此类型只有一种取值。是一个具有此值的单独对象。此对象通过内置名称 ``None`` 访问。在许多情况下它被用来表示空值,例如未显式指明返回值的函数将返回"
204+ " None。它的逻辑值为假。"
203205
204206#: ../../reference/datamodel.rst:165
205207msgid "NotImplemented"
206- msgstr ""
208+ msgstr "NotImplemented "
207209
208210#: ../../reference/datamodel.rst:155
209211msgid ""
@@ -214,25 +216,28 @@ msgid ""
214216" will then try the reflected operation, or some other fallback, depending on"
215217" the operator.) Its truth value is true."
216218msgstr ""
219+ "此类型只有一种取值。是一个具有此值的单独对象。此对象通过内置名称 ``NotImplemented`` "
220+ "访问。数值方法和丰富比较方法如未实现指定运算符表示的运算则应返回此值。(解释器会根据指定运算符继续尝试反向运算或其他回退操作)。它的逻辑值为真。"
217221
218222#: ../../reference/datamodel.rst:162
219223msgid "See :ref:`implementing-the-arithmetic-operations` for more details."
220- msgstr ""
224+ msgstr "详情参见 :ref:`implementing-the-arithmetic-operations`。 "
221225
222226#: ../../reference/datamodel.rst:172
223227msgid "Ellipsis"
224- msgstr ""
228+ msgstr "Ellipsis "
225229
226230#: ../../reference/datamodel.rst:170
227231msgid ""
228232"This type has a single value. There is a single object with this value. "
229233"This object is accessed through the literal ``...`` or the built-in name "
230234"``Ellipsis``. Its truth value is true."
231235msgstr ""
236+ "此类型只有一种取值。是一个具有此值的单独对象。此对象通过字面值 ``...`` 或内置名称 ``Ellipsis`` 访问。它的逻辑值为真。"
232237
233238#: ../../reference/datamodel.rst:242
234239msgid ":class:`numbers.Number`"
235- msgstr ""
240+ msgstr ":class:`numbers.Number` "
236241
237242#: ../../reference/datamodel.rst:177
238243msgid ""
@@ -242,30 +247,32 @@ msgid ""
242247"strongly related to mathematical numbers, but subject to the limitations of "
243248"numerical representation in computers."
244249msgstr ""
250+ "此类对象由数字字面值创建,并会被作为算术运算符和算术内置函数的返回结果。数字对象是不可变的;一旦创建其值就不再改变。Python "
251+ "中的数字当然非常类似数学中的数字,但也受限于计算机中的数字表示方法。"
245252
246253#: ../../reference/datamodel.rst:183
247254msgid ""
248255"Python distinguishes between integers, floating point numbers, and complex "
249256"numbers:"
250- msgstr ""
257+ msgstr "Python 区分整型数、浮点型数和复数: "
251258
252259#: ../../reference/datamodel.rst:217
253260msgid ":class:`numbers.Integral`"
254- msgstr ""
261+ msgstr ":class:`numbers.Integral` "
255262
256263#: ../../reference/datamodel.rst:189
257264msgid ""
258265"These represent elements from the mathematical set of integers (positive and"
259266" negative)."
260- msgstr ""
267+ msgstr "此类对象表示数学中整数集合的成员 (包括正数和负数)。 "
261268
262269#: ../../reference/datamodel.rst:192
263270msgid "There are two types of integers:"
264- msgstr ""
271+ msgstr "整型数可细分为两种类型: "
265272
266273#: ../../reference/datamodel.rst:194
267274msgid "Integers (:class:`int`)"
268- msgstr ""
275+ msgstr "整型 (:class:`int`) "
269276
270277#: ../../reference/datamodel.rst:196
271278msgid ""
@@ -275,10 +282,12 @@ msgid ""
275282"variant of 2's complement which gives the illusion of an infinite string of "
276283"sign bits extending to the left."
277284msgstr ""
285+ "此类对象表示任意大小的数字,仅受限于可用的内存 (包括虚拟内存)。在变换和掩码运算中会以二进制表示,负数会以 2 "
286+ "的补码表示,看起来像是符号位向左延伸补满空位。"
278287
279288#: ../../reference/datamodel.rst:212
280289msgid "Booleans (:class:`bool`)"
281- msgstr ""
290+ msgstr "布尔型 (:class:`bool`) "
282291
283292#: ../../reference/datamodel.rst:208
284293msgid ""
0 commit comments