1
1
# SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) 2001-2022 , Python Software Foundation
2
+ # Copyright (C) 2001-2024 , Python Software Foundation
3
3
# This file is distributed under the same license as the Python package.
4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
6
6
# Translators:
7
- # Iterator <xicheng.li@ucdconnect.ie >, 2019
7
+ # 8af080f2e6702c64bedd01873aed27e8_25aec74 <fd99d14239138a1f987c22e7736dde81_777475 >, 2019
8
8
# Sean Chao <seanchao0804@gmail.com>, 2020
9
9
# helloworldSB <warningfor163@foxmail.com>, 2021
10
10
# Dai Xu <daixu61@hotmail.com>, 2022
11
11
# Freesand Leo <yuqinju@163.com>, 2022
12
+ # Rafael Fontenelle <rffontenelle@gmail.com>, 2024
12
13
#
13
14
#, fuzzy
14
15
msgid ""
15
16
msgstr ""
16
17
"Project-Id-Version : Python 3.9\n "
17
18
"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 "
19
20
"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 "
22
23
"MIME-Version : 1.0\n "
23
24
"Content-Type : text/plain; charset=UTF-8\n "
24
25
"Content-Transfer-Encoding : 8bit\n "
@@ -32,16 +33,16 @@ msgstr "整数型对象"
32
33
#: ../../c-api/long.rst:11
33
34
msgid ""
34
35
"All integers are implemented as \" long\" integer objects of arbitrary size."
35
- msgstr "所有整数都使用以任意大小的长整数对象表示 。"
36
+ msgstr "所有整数都实现为长度任意的长整数对象 。"
36
37
37
38
#: ../../c-api/long.rst:13
38
39
msgid ""
39
40
"On error, most ``PyLong_As*`` APIs return ``(return type)-1`` which cannot "
40
41
"be distinguished from a number. Use :c:func:`PyErr_Occurred` to "
41
42
"disambiguate."
42
43
msgstr ""
43
- "在出错时,大多数 ``PyLong_As*`` API返回 ``(返回类型 )-1`` ,无法与一般的数字区分开来。请使用 "
44
- ":c:func:`PyErr_Occurred` 来区分 。"
44
+ "在出错时,大多数 ``PyLong_As*`` API 都会返回 ``(return type )-1``,这与数字无法区分开。请采用 "
45
+ ":c:func:`PyErr_Occurred` 来加以区分 。"
45
46
46
47
#: ../../c-api/long.rst:18
47
48
msgid "This subtype of :c:type:`PyObject` represents a Python integer object."
@@ -52,15 +53,15 @@ msgid ""
52
53
"This instance of :c:type:`PyTypeObject` represents the Python integer type. "
53
54
"This is the same object as :class:`int` in the Python layer."
54
55
msgstr ""
55
- "这个 :c:type:`PyTypeObject` 的实例表示 Python 的整数类型。与Python层中的 :class:`int` 相同。"
56
+ "这个 :c:type:`PyTypeObject` 的实例表示 Python 的整数类型。与 Python 语言中的 :class:`int` 相同。"
56
57
57
58
#: ../../c-api/long.rst:29
58
59
msgid ""
59
60
"Return true if its argument is a :c:type:`PyLongObject` or a subtype of "
60
61
":c:type:`PyLongObject`. This function always succeeds."
61
62
msgstr ""
62
- "如果它的参数是 :c:type:`PyLongObject` 或 :c:type:`PyLongObject` 的子类型则返回真值。 "
63
- "此函数总是会成功执行 。"
63
+ "如果参数是 :c:type:`PyLongObject` 或 :c:type:`PyLongObject` 的子类型,则返回 "
64
+ "True。该函数一定能够执行成功 。"
64
65
65
66
#: ../../c-api/long.rst:35
66
67
msgid ""
@@ -97,15 +98,14 @@ msgid ""
97
98
"Return a new :c:type:`PyLongObject` object from a C :c:type:`Py_ssize_t`, or"
98
99
" ``NULL`` on failure."
99
100
msgstr ""
100
- "从 C :c:type:`Py_ssize_t` 类型返回一个新的 :c:type:`PyLongObject` 对象,如果失败则返回 ``NULL``"
101
- " 。"
101
+ "由 C :c:type:`Py_ssize_t` 返回一个新的 :c:type:`PyLongObject` 对象,失败时返回 ``NULL`` 。"
102
102
103
103
#: ../../c-api/long.rst:62
104
104
msgid ""
105
105
"Return a new :c:type:`PyLongObject` object from a C :c:type:`size_t`, or "
106
106
"``NULL`` on failure."
107
107
msgstr ""
108
- "从 C :c:type:`size_t` 返回一个新的 :c:type:`PyLongObject` 对象,如果失败则返回 ``NULL`` 。"
108
+ "由 C :c:type:`size_t` 返回一个新的 :c:type:`PyLongObject` 对象,失败则返回 ``NULL`` 。"
109
109
110
110
#: ../../c-api/long.rst:68
111
111
msgid ""
@@ -126,7 +126,7 @@ msgstr ""
126
126
msgid ""
127
127
"Return a new :c:type:`PyLongObject` object from the integer part of *v*, or "
128
128
"``NULL`` on failure."
129
- msgstr "从 *v* 的整数部分返回一个新的 :c:type:`PyLongObject` 对象,如果失败则返回 ``NULL`` 。"
129
+ msgstr "由 *v* 的整数部分返回一个新的 :c:type:`PyLongObject` 对象,失败则返回 ``NULL`` 。"
130
130
131
131
#: ../../c-api/long.rst:86
132
132
msgid ""
@@ -140,11 +140,11 @@ msgid ""
140
140
"and single underscores after a base specifier and between digits are "
141
141
"ignored. If there are no digits, :exc:`ValueError` will be raised."
142
142
msgstr ""
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`。"
148
148
149
149
#: ../../c-api/long.rst:99
150
150
msgid "Convert a sequence of Unicode digits to a Python integer value."
@@ -190,7 +190,7 @@ msgstr "如果 *obj* 的值溢出了 :c:type:`long` 的范围,会引发 :exc:`
190
190
#: ../../c-api/long.rst:199 ../../c-api/long.rst:222
191
191
msgid ""
192
192
"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` 找出具体问题 。"
194
194
195
195
#: ../../c-api/long.rst:137 ../../c-api/long.rst:158 ../../c-api/long.rst:180
196
196
#: ../../c-api/long.rst:203 ../../c-api/long.rst:288 ../../c-api/long.rst:308
@@ -272,7 +272,7 @@ msgstr ""
272
272
msgid ""
273
273
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
274
274
"disambiguate."
275
- msgstr "出错时返回 ``(unsigned long)-1`` ,请利用 :c:func:`PyErr_Occurred` 获取详细信息 。"
275
+ msgstr "出错时返回 ``(unsigned long)-1`` ,请利用 :c:func:`PyErr_Occurred` 辨别具体问题 。"
276
276
277
277
#: ../../c-api/long.rst:247
278
278
msgid ""
@@ -292,7 +292,7 @@ msgstr "如果 *pylong* 的值超出了 :c:type:`size_t` 的取值范围则会
292
292
msgid ""
293
293
"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to "
294
294
"disambiguate."
295
- msgstr "出错时返回 ``(size_t)-1`` ,请利用 :c:func:`PyErr_Occurred` 获取详细信息 。"
295
+ msgstr "出错时返回 ``(size_t)-1`` ,请利用 :c:func:`PyErr_Occurred` 辨别具体问题 。"
296
296
297
297
#: ../../c-api/long.rst:262
298
298
msgid ""
@@ -314,7 +314,7 @@ msgstr ""
314
314
msgid ""
315
315
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to"
316
316
" disambiguate."
317
- msgstr "出错时返回 ``(unsigned long long)-1``,请利用 :c:func:`PyErr_Occurred` 获取详细信息 。"
317
+ msgstr "出错时返回 ``(unsigned long long)-1``,请利用 :c:func:`PyErr_Occurred` 辨别具体问题 。"
318
318
319
319
#: ../../c-api/long.rst:271
320
320
msgid ""
0 commit comments