-
-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathbool.po
More file actions
72 lines (64 loc) · 2.79 KB
/
Copy pathbool.po
File metadata and controls
72 lines (64 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2025, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-01-03 16:35+0000\n"
"PO-Revision-Date: 2025-09-22 17:54+0000\n"
"Last-Translator: python-doc bot, 2025\n"
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../c-api/bool.rst:6
msgid "Boolean Objects"
msgstr "布尔对象"
#: ../../c-api/bool.rst:8
msgid ""
"Booleans in Python are implemented as a subclass of integers. There are "
"only two booleans, :const:`Py_False` and :const:`Py_True`. As such, the "
"normal creation and deletion functions don't apply to booleans. The "
"following macros are available, however."
msgstr ""
"Python 中的布尔值是作为整数的子类实现的。只有 :const:`Py_False` 和 :const:`Py_True` "
"两个布尔值。因此,正常的创建和删除功能不适用于布尔值。但是,下列宏可用。"
#: ../../c-api/bool.rst:16
msgid ""
"Return true if *o* is of type :c:data:`PyBool_Type`. This function always "
"succeeds."
msgstr "如果 *o* 的类型为 :c:data:`PyBool_Type` 则返回真值。 此函数总是会成功执行。"
#: ../../c-api/bool.rst:22
msgid ""
"The Python ``False`` object. This object has no methods. It needs to be "
"treated just like any other object with respect to reference counts."
msgstr "Python的 ``False`` 对象。该对象没有任何方法。它应该象其它使用引用计数管理的对象一样使用。"
#: ../../c-api/bool.rst:28
msgid ""
"The Python ``True`` object. This object has no methods. It needs to be "
"treated just like any other object with respect to reference counts."
msgstr "Python的 ``True`` 对象。该对象没有任何方法。它应该象其它使用引用计数管理的对象一样使用。"
#: ../../c-api/bool.rst:34
msgid ""
"Return :const:`Py_False` from a function, properly incrementing its "
"reference count."
msgstr "从函数返回 :const:`Py_False` 时,需要增加它的引用计数。"
#: ../../c-api/bool.rst:40
msgid ""
"Return :const:`Py_True` from a function, properly incrementing its reference"
" count."
msgstr "从函数返回 :const:`Py_True` 时,需要增加它的引用计数。"
#: ../../c-api/bool.rst:46
msgid ""
"Return a new reference to :const:`Py_True` or :const:`Py_False` depending on"
" the truth value of *v*."
msgstr "根据 *v* 的实际值,返回一个 :const:`Py_True` 或者 :const:`Py_False` 的新引用。"