11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2022 , Python Software Foundation
2+ # Copyright (C) 2001-2024 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # Iterator <[email protected] >, 20197+ # 8af080f2e6702c64bedd01873aed27e8_25aec74 <fd99d14239138a1f987c22e7736dde81_777475 >, 2019
88# Sean Chao <[email protected] >, 202099# helloworldSB <[email protected] >, 20211010# Dai Xu <[email protected] >, 20221111# Freesand Leo <[email protected] >, 202212+ # Rafael Fontenelle <[email protected] >, 20241213#
1314#, fuzzy
1415msgid ""
1516msgstr ""
1617"Project-Id-Version : Python 3.9\n "
1718"Report-Msgid-Bugs-To : \n "
18- "POT-Creation-Date : 2022-11-04 14:34 +0000\n "
19+ "POT-Creation-Date : 2024-04-15 06:01 +0000\n "
1920"PO-Revision-Date : 2017-02-16 17:36+0000\n "
20- "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2022 \n "
21- "Language-Team : Chinese (China) (https://www .transifex.com/python-doc/teams/5390/zh_CN/)\n "
21+ "Last-Translator : Rafael Fontenelle <rffontenelle@gmail .com>, 2024 \n "
22+ "Language-Team : Chinese (China) (https://app .transifex.com/python-doc/teams/5390/zh_CN/)\n "
2223"MIME-Version : 1.0\n "
2324"Content-Type : text/plain; charset=UTF-8\n "
2425"Content-Transfer-Encoding : 8bit\n "
@@ -32,16 +33,16 @@ msgstr "整数型对象"
3233#: ../../c-api/long.rst:11
3334msgid ""
3435"All integers are implemented as \" long\" integer objects of arbitrary size."
35- msgstr "所有整数都使用以任意大小的长整数对象表示 。"
36+ msgstr "所有整数都实现为长度任意的长整数对象 。"
3637
3738#: ../../c-api/long.rst:13
3839msgid ""
3940"On error, most ``PyLong_As*`` APIs return ``(return type)-1`` which cannot "
4041"be distinguished from a number. Use :c:func:`PyErr_Occurred` to "
4142"disambiguate."
4243msgstr ""
43- "在出错时,大多数 ``PyLong_As*`` API返回 ``(返回类型 )-1`` ,无法与一般的数字区分开来。请使用 "
44- ":c:func:`PyErr_Occurred` 来区分 。"
44+ "在出错时,大多数 ``PyLong_As*`` API 都会返回 ``(return type )-1``,这与数字无法区分开。请采用 "
45+ ":c:func:`PyErr_Occurred` 来加以区分 。"
4546
4647#: ../../c-api/long.rst:18
4748msgid "This subtype of :c:type:`PyObject` represents a Python integer object."
@@ -52,15 +53,15 @@ msgid ""
5253"This instance of :c:type:`PyTypeObject` represents the Python integer type. "
5354"This is the same object as :class:`int` in the Python layer."
5455msgstr ""
55- "这个 :c:type:`PyTypeObject` 的实例表示 Python 的整数类型。与Python层中的 :class:`int` 相同。"
56+ "这个 :c:type:`PyTypeObject` 的实例表示 Python 的整数类型。与 Python 语言中的 :class:`int` 相同。"
5657
5758#: ../../c-api/long.rst:29
5859msgid ""
5960"Return true if its argument is a :c:type:`PyLongObject` or a subtype of "
6061":c:type:`PyLongObject`. This function always succeeds."
6162msgstr ""
62- "如果它的参数是 :c:type:`PyLongObject` 或 :c:type:`PyLongObject` 的子类型则返回真值。 "
63- "此函数总是会成功执行 。"
63+ "如果参数是 :c:type:`PyLongObject` 或 :c:type:`PyLongObject` 的子类型,则返回 "
64+ "True。该函数一定能够执行成功 。"
6465
6566#: ../../c-api/long.rst:35
6667msgid ""
@@ -97,15 +98,14 @@ msgid ""
9798"Return a new :c:type:`PyLongObject` object from a C :c:type:`Py_ssize_t`, or"
9899" ``NULL`` on failure."
99100msgstr ""
100- "从 C :c:type:`Py_ssize_t` 类型返回一个新的 :c:type:`PyLongObject` 对象,如果失败则返回 ``NULL``"
101- " 。"
101+ "由 C :c:type:`Py_ssize_t` 返回一个新的 :c:type:`PyLongObject` 对象,失败时返回 ``NULL`` 。"
102102
103103#: ../../c-api/long.rst:62
104104msgid ""
105105"Return a new :c:type:`PyLongObject` object from a C :c:type:`size_t`, or "
106106"``NULL`` on failure."
107107msgstr ""
108- "从 C :c:type:`size_t` 返回一个新的 :c:type:`PyLongObject` 对象,如果失败则返回 ``NULL`` 。"
108+ "由 C :c:type:`size_t` 返回一个新的 :c:type:`PyLongObject` 对象,失败则返回 ``NULL`` 。"
109109
110110#: ../../c-api/long.rst:68
111111msgid ""
@@ -126,7 +126,7 @@ msgstr ""
126126msgid ""
127127"Return a new :c:type:`PyLongObject` object from the integer part of *v*, or "
128128"``NULL`` on failure."
129- msgstr "从 *v* 的整数部分返回一个新的 :c:type:`PyLongObject` 对象,如果失败则返回 ``NULL`` 。"
129+ msgstr "由 *v* 的整数部分返回一个新的 :c:type:`PyLongObject` 对象,失败则返回 ``NULL`` 。"
130130
131131#: ../../c-api/long.rst:86
132132msgid ""
@@ -140,11 +140,11 @@ msgid ""
140140"and single underscores after a base specifier and between digits are "
141141"ignored. If there are no digits, :exc:`ValueError` will be raised."
142142msgstr ""
143- "根据 *str* 字符串值返回一个新的 :c:type:`PyLongObject` ,*base* 指定基数 。如果 *pend* 不是 "
144- "``NULL`` , */*pend* 将指向 *str* 中表示这个数字部分的后面的第一个字符 。如果 *base* 是 ``0`` , *str* "
145- "将使用 :ref:`integers` 定义来解释;在这种情况下,一个非零的十进制数中的前导零会引发一个 :exc:`ValueError` 。如果 "
146- "*base* 不是 ``0`` ,它必须在 ``2`` 和 ``36`` "
147- "之间,包括2和36。基数说明符后以及数字之间的前导空格、单下划线将被忽略。如果没有数字,将引发 :exc:`ValueError`。"
143+ "根据 *str* 字符串值返回一个新的 :c:type:`PyLongObject` ,*base* 指定了整数的基 。如果 *pend* 不为 "
144+ "``NULL`` ,则 */*pend* 将指向 *str* 中表示数字部分后面的第一个字符 。如果 *base* 为 ``0`` , *str* 将采用 "
145+ " :ref:`integers` 的定义进行解释;这时非零十进制数的前导零会触发 :exc:`ValueError` 。如果 *base* 不为 "
146+ "``0`` ,则须位于 ``2`` 和 ``36`` 之间(含 2 和 36)。基之后及数字之间的前导空格、单下划线将被忽略。如果不存在数字,将触发 "
147+ ":exc:`ValueError`。"
148148
149149#: ../../c-api/long.rst:99
150150msgid "Convert a sequence of Unicode digits to a Python integer value."
@@ -190,7 +190,7 @@ msgstr "如果 *obj* 的值溢出了 :c:type:`long` 的范围,会引发 :exc:`
190190#: ../../c-api/long.rst:199 ../../c-api/long.rst:222
191191msgid ""
192192"Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
193- msgstr "发生错误时返回 ``-1`` 。使用 :c:func:`PyErr_Occurred` 来消歧义 。"
193+ msgstr "出错则返回 ``-1`` 。请用 :c:func:`PyErr_Occurred` 找出具体问题 。"
194194
195195#: ../../c-api/long.rst:137 ../../c-api/long.rst:158 ../../c-api/long.rst:180
196196#: ../../c-api/long.rst:203 ../../c-api/long.rst:288 ../../c-api/long.rst:308
@@ -272,7 +272,7 @@ msgstr ""
272272msgid ""
273273"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
274274"disambiguate."
275- msgstr "出错时返回 ``(unsigned long)-1`` ,请利用 :c:func:`PyErr_Occurred` 获取详细信息 。"
275+ msgstr "出错时返回 ``(unsigned long)-1`` ,请利用 :c:func:`PyErr_Occurred` 辨别具体问题 。"
276276
277277#: ../../c-api/long.rst:247
278278msgid ""
@@ -292,7 +292,7 @@ msgstr "如果 *pylong* 的值超出了 :c:type:`size_t` 的取值范围则会
292292msgid ""
293293"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to "
294294"disambiguate."
295- msgstr "出错时返回 ``(size_t)-1`` ,请利用 :c:func:`PyErr_Occurred` 获取详细信息 。"
295+ msgstr "出错时返回 ``(size_t)-1`` ,请利用 :c:func:`PyErr_Occurred` 辨别具体问题 。"
296296
297297#: ../../c-api/long.rst:262
298298msgid ""
@@ -314,7 +314,7 @@ msgstr ""
314314msgid ""
315315"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to"
316316" disambiguate."
317- msgstr "出错时返回 ``(unsigned long long)-1``,请利用 :c:func:`PyErr_Occurred` 获取详细信息 。"
317+ msgstr "出错时返回 ``(unsigned long long)-1``,请利用 :c:func:`PyErr_Occurred` 辨别具体问题 。"
318318
319319#: ../../c-api/long.rst:271
320320msgid ""
0 commit comments