11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2018 , Python Software Foundation
2+ # Copyright (C) 2001-2019 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
6+ # Translators:
7+ # Pandaaaa906 <[email protected] >, 20198+ #
69#, fuzzy
710msgid ""
811msgstr ""
912"Project-Id-Version : Python 3.7\n "
1013"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2018-06-30 05:56+0900\n "
12- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
14+ "POT-Creation-Date : 2019-01-01 10:14+0900\n "
15+ "PO-Revision-Date : 2017-02-16 17:35+0000\n "
16+ "
Last-Translator :
Pandaaaa906 <[email protected] >, 2019\n "
1317"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1418"MIME-Version : 1.0\n "
1519"Content-Type : text/plain; charset=UTF-8\n "
@@ -19,42 +23,48 @@ msgstr ""
1923
2024#: ../../c-api/float.rst:6
2125msgid "Floating Point Objects"
22- msgstr ""
26+ msgstr "浮点数对象 "
2327
2428#: ../../c-api/float.rst:13
2529msgid ""
2630"This subtype of :c:type:`PyObject` represents a Python floating point "
2731"object."
28- msgstr ""
32+ msgstr "这个C类型:c:type:`PyObject`的子类型代表一个Python浮点数对象。 "
2933
3034#: ../../c-api/float.rst:18
3135msgid ""
3236"This instance of :c:type:`PyTypeObject` represents the Python floating point"
3337" type. This is the same object as :class:`float` in the Python layer."
3438msgstr ""
39+ "这是个属于C类型 :c:type:`PyTypeObject` 的代表Python浮点类型的实例。在Python层面的类型 :class:`float`"
40+ " 是同一个对象。"
3541
3642#: ../../c-api/float.rst:24
3743msgid ""
3844"Return true if its argument is a :c:type:`PyFloatObject` or a subtype of "
3945":c:type:`PyFloatObject`."
4046msgstr ""
47+ "当他的参数是一个C类型 :c:type:`PyFloatObject` 或者是C类型 :c:type:`PyFloatObject` "
48+ "的子类型时,返回真。"
4149
4250#: ../../c-api/float.rst:30
4351msgid ""
4452"Return true if its argument is a :c:type:`PyFloatObject`, but not a subtype "
4553"of :c:type:`PyFloatObject`."
4654msgstr ""
55+ "当他的参数是一个C类型 :c:type:`PyFloatObject` 但不是C类型 :c:type:`PyFloatObject` "
56+ "的子类型时,返回真。"
4757
4858#: ../../c-api/float.rst:36
4959msgid ""
5060"Create a :c:type:`PyFloatObject` object based on the string value in *str*, "
5161"or *NULL* on failure."
52- msgstr ""
62+ msgstr "根据字符串 *str* 的值,创建一个C类型 :c:type:`PyFloatObject` 对象,失败时返回 *NULL* 。 "
5363
5464#: ../../c-api/float.rst:42
5565msgid ""
5666"Create a :c:type:`PyFloatObject` object from *v*, or *NULL* on failure."
57- msgstr ""
67+ msgstr "根据 *v* 创建一个C类型 :c:type:`PyFloatObject` 对象,失败时返回 *NULL* 。 "
5868
5969#: ../../c-api/float.rst:47
6070msgid ""
@@ -64,6 +74,9 @@ msgid ""
6474" This method returns ``-1.0`` upon failure, so one should call "
6575":c:func:`PyErr_Occurred` to check for errors."
6676msgstr ""
77+ "返回一个代表 *pyfloat* 内容的C类型 :c:type:`double` 。如果 *float* 不是一个Python浮点数对象,但是包含 "
78+ ":meth:`__float__` 方法,这个方法会首先被调用,将 *pyfloat* 转换成一个浮点数。失败时这个方法返回 ``-1.0`` "
79+ ",所以应该调用C函数 :c:func:`PyErr_Occurred` 检查错误。"
6780
6881#: ../../c-api/float.rst:56
6982msgid ""
0 commit comments