-
-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathcell.po
More file actions
100 lines (89 loc) · 4.34 KB
/
cell.po
File metadata and controls
100 lines (89 loc) · 4.34 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Rafael Fontenelle <rffontenelle@gmail.com>, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-05-08 19:31+0000\n"
"PO-Revision-Date: 2026-05-08 17:16+0000\n"
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\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/cell.rst:6
msgid "Cell Objects"
msgstr "Cell 对象"
#: ../../c-api/cell.rst:8
msgid ""
"\"Cell\" objects are used to implement variables referenced by multiple "
"scopes. For each such variable, a cell object is created to store the value;"
" the local variables of each stack frame that references the value contain a"
" reference to the cells from outer scopes which also use that variable. "
"When the value is accessed, the value contained in the cell is used instead "
"of the cell object itself. This de-referencing of the cell object requires "
"support from the generated byte-code; these are not automatically de-"
"referenced when accessed. Cell objects are not likely to be useful "
"elsewhere."
msgstr ""
"\"Cell\" 对象用于实现由多个作用域引用的变量。对于每个这样的变量,将创建一个 Cell "
"对象来存储该值;引用该值的每个栈帧的局部变量将包含同样使用该变量的对外部作用域的 Cell 的引用。当该值被访问时,将使用包含在 Cell 中的值而不是"
" Cell 对象本身。这种对 Cell 对象的解引用需要来自所生成字节码的支持;它们在被访问时不会自动解引用。Cell 对象在其他地方不太可能会被用到。"
#: ../../c-api/cell.rst:20
msgid "The C structure used for cell objects."
msgstr "用于 Cell 对象的 C 结构体。"
#: ../../c-api/cell.rst:25
msgid "The type object corresponding to cell objects."
msgstr "与 Cell 对象对应的类型对象。"
#: ../../c-api/cell.rst:30
msgid ""
"Return true if *ob* is a cell object; *ob* must not be ``NULL``. This "
"function always succeeds."
msgstr "如果 *ob* 是一个 cell 对象则返回真值;*ob* 必须不为 ``NULL``。此函数总是会成功执行。"
#: ../../c-api/cell.rst:36
msgid ""
"Create and return a new cell object containing the value *ob*. The parameter"
" may be ``NULL``."
msgstr "创建并返回一个包含值 *ob* 的新 cell 对象。形参可以为 ``NULL``。"
#: ../../c-api/cell.rst:42
msgid ""
"Return the contents of the cell *cell*, which can be ``NULL``. If *cell* is "
"not a cell object, returns ``NULL`` with an exception set."
msgstr ""
"返回 cell 对象 *cell* 的内容,可以为 ``NULL``。如果 *cell* 不是一个 cell 对象,则返回 ``NULL`` "
"并设置一个异常。"
#: ../../c-api/cell.rst:48
msgid ""
"Return the contents of the cell *cell*, but without checking that *cell* is "
"non-``NULL`` and a cell object."
msgstr "返回 cell 对象 *cell* 的内容,但是不检测 *cell* 是否非 ``NULL`` 并且为一个 cell 对象。"
#: ../../c-api/cell.rst:54
msgid ""
"Set the contents of the cell object *cell* to *value*. This releases the "
"reference to any current content of the cell. *value* may be ``NULL``. "
"*cell* must be non-``NULL``."
msgstr ""
"将 cell 对象 *cell* 的内容设为 *value*。这将释放任何对该 cell 对象当前内容的引用。*value* 可以为 "
"``NULL``。*cell* 必须不为 ``NULL``。"
#: ../../c-api/cell.rst:58
msgid ""
"On success, return ``0``. If *cell* is not a cell object, set an exception "
"and return ``-1``."
msgstr "当成功时,返回 ``0``。如果 *cell* 不是一个 cell 对象,则设置一个异常并返回 ``-1``。"
#: ../../c-api/cell.rst:64
msgid ""
"Sets the value of the cell object *cell* to *value*. No reference counts "
"are adjusted, and no checks are made for safety; *cell* must be non-``NULL``"
" and must be a cell object."
msgstr ""
"将 cell 对象 *cell* 的值设为 *value*。不会调整引用计数,并且不会进行检测以保证安全;*cell* 必须为非 ``NULL`` "
"并且为一个 cell 对象。"