-
-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathbytearray.po
More file actions
109 lines (92 loc) · 4.08 KB
/
bytearray.po
File metadata and controls
109 lines (92 loc) · 4.08 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
101
102
103
104
105
106
107
108
109
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2021, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# 刘士 <liushilive@outlook.com>, 2019
# Pandaaaa906 <ye.pandaaaa906@gmail.com>, 2019
# Freesand Leo <yuqinju@163.com>, 2019
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-01 16:02+0000\n"
"PO-Revision-Date: 2019-09-01 03:40+0000\n"
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
"Language-Team: Chinese (China) (https://www.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/bytearray.rst:6
msgid "Byte Array Objects"
msgstr "字节数组对象"
#: ../../c-api/bytearray.rst:13
msgid ""
"This subtype of :c:type:`PyObject` represents a Python bytearray object."
msgstr "这个 :c:type:`PyObject` 的子类型表示一个 Python 字节数组对象。"
#: ../../c-api/bytearray.rst:18
msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python bytearray "
"type; it is the same object as :class:`bytearray` in the Python layer."
msgstr ""
"Python bytearray 类型表示为 :c:type:`PyTypeObject` 的实例;这与Python层面的 "
":class:`bytearray` 是相同的对象。"
#: ../../c-api/bytearray.rst:23
msgid "Type check macros"
msgstr "类型检查宏"
#: ../../c-api/bytearray.rst:27
msgid ""
"Return true if the object *o* is a bytearray object or an instance of a "
"subtype of the bytearray type."
msgstr "当对象 *o* 是一个字节数组对象而且是一个字节数组类型的子类型实例时,返回真。"
#: ../../c-api/bytearray.rst:33
msgid ""
"Return true if the object *o* is a bytearray object, but not an instance of "
"a subtype of the bytearray type."
msgstr "当对象 *o* 是一个字节数组对象,但不是一个字节数组类型的子类型实例时,返回真。"
#: ../../c-api/bytearray.rst:38
msgid "Direct API functions"
msgstr "直接 API 函数"
#: ../../c-api/bytearray.rst:42
msgid ""
"Return a new bytearray object from any object, *o*, that implements the "
":ref:`buffer protocol <bufferobjects>`."
msgstr "根据任何实现了 :ref:`缓冲区协议<bufferobjects>` 的对象 *o*,返回一个新的字节数组对象。"
#: ../../c-api/bytearray.rst:50
msgid ""
"Create a new bytearray object from *string* and its length, *len*. On "
"failure, ``NULL`` is returned."
msgstr "根据 *string* 及其长度 *len* 创建一个新的 bytearray 对象。 当失败时返回 ``NULL``。"
#: ../../c-api/bytearray.rst:56
msgid ""
"Concat bytearrays *a* and *b* and return a new bytearray with the result."
msgstr "连接字节数组 *a* 和 *b* 并返回一个带有结果的新的字节数组。"
#: ../../c-api/bytearray.rst:61
msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer."
msgstr "在检查 ``NULL`` 指针后返回 *bytearray* 的大小。"
#: ../../c-api/bytearray.rst:66
msgid ""
"Return the contents of *bytearray* as a char array after checking for a "
"``NULL`` pointer. The returned array always has an extra null byte "
"appended."
msgstr "在检查 ``NULL`` 指针后返回将 *bytearray* 返回为一个字符数组。 返回的数组总是会附加一个额外的空字节。"
#: ../../c-api/bytearray.rst:73
msgid "Resize the internal buffer of *bytearray* to *len*."
msgstr "将 *bytearray* 的内部缓冲区的大小调整为 *len*。"
#: ../../c-api/bytearray.rst:76
msgid "Macros"
msgstr "宏"
#: ../../c-api/bytearray.rst:78
msgid "These macros trade safety for speed and they don't check pointers."
msgstr "这些宏减低安全性以换取性能,它们不检查指针。"
#: ../../c-api/bytearray.rst:82
msgid "Macro version of :c:func:`PyByteArray_AsString`."
msgstr "C函数 :c:func:`PyByteArray_AsString` 的宏版本。"
#: ../../c-api/bytearray.rst:87
msgid "Macro version of :c:func:`PyByteArray_Size`."
msgstr "C函数 :c:func:`PyByteArray_Size` 的宏版本。"