- Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathmethod.po
122 lines (105 loc) · 4.92 KB
/
method.po
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
110
111
112
113
114
115
116
117
118
119
120
121
122
# 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:
# dhcn, 2019
# Shengjing Zhu <zsj950618@gmail.com>, 2019
# Freesand Leo <yuqinju@163.com>, 2020
#
#,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>, 2020\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/method.rst:6
msgid"Instance Method Objects"
msgstr"实例方法对象"
#:../../c-api/method.rst:10
msgid""
"An instance method is a wrapper for a :c:data:`PyCFunction` and the new way "
"to bind a :c:data:`PyCFunction` to a class object. It replaces the former "
"call ``PyMethod_New(func, NULL, class)``."
msgstr""
"实例方法是 :c:data:`PyCFunction` 的包装器,也是将 :c:data:`PyCFunction` 绑定到类对象的一种新方式。 "
"它替代了原先的调用 ``PyMethod_New(func, NULL, class)``。"
#:../../c-api/method.rst:17
msgid""
"This instance of :c:type:`PyTypeObject` represents the Python instance "
"method type. It is not exposed to Python programs."
msgstr"这个 :c:type:`PyTypeObject` 实例代表 Python 实例方法类型。 它并不对 Python 程序公开。"
#:../../c-api/method.rst:23
msgid""
"Return true if *o* is an instance method object (has type "
":c:data:`PyInstanceMethod_Type`). The parameter must not be ``NULL``."
msgstr""
"如果 *o* 是实例方法对象 (类型为 :c:data:`PyInstanceMethod_Type`) 则返回真值。 形参必须不为 ``NULL``。"
#:../../c-api/method.rst:29
msgid""
"Return a new instance method object, with *func* being any callable object "
"*func* is the function that will be called when the instance method is "
"called."
msgstr"返回一个新的实例方法对象,*func* 应为任意可调用对象,*func* 将在实例方法被调用时作为函数被调用。"
#:../../c-api/method.rst:36
msgid"Return the function object associated with the instance method *im*."
msgstr"返回关联到实例方法 *im* 的函数对象。"
#:../../c-api/method.rst:41
msgid""
"Macro version of :c:func:`PyInstanceMethod_Function` which avoids error "
"checking."
msgstr"宏版本的 :c:func:`PyInstanceMethod_Function`,略去了错误检测。"
#:../../c-api/method.rst:47
msgid"Method Objects"
msgstr"方法对象"
#:../../c-api/method.rst:51
msgid""
"Methods are bound function objects. Methods are always bound to an instance "
"of a user-defined class. Unbound methods (methods bound to a class object) "
"are no longer available."
msgstr"方法是绑定的函数对象。 方法总是会被绑定到一个用户自定义类的实例。 未绑定方法(绑定到一个类的方法)已不再可用。"
#:../../c-api/method.rst:60
msgid""
"This instance of :c:type:`PyTypeObject` represents the Python method type. "
"This is exposed to Python programs as ``types.MethodType``."
msgstr""
"这个 :c:type:`PyTypeObject` 实例代表 Python 方法类型。 它作为 ``types.MethodType`` 向 "
"Python 程序公开。"
#:../../c-api/method.rst:66
msgid""
"Return true if *o* is a method object (has type :c:data:`PyMethod_Type`). "
"The parameter must not be ``NULL``."
msgstr"如果 *o* 是方法对象 (类型为 :c:data:`PyMethod_Type`) 则返回真值。 形参必须不为 ``NULL``。"
#:../../c-api/method.rst:72
msgid""
"Return a new method object, with *func* being any callable object and *self*"
" the instance the method should be bound. *func* is the function that will "
"be called when the method is called. *self* must not be ``NULL``."
msgstr""
"返回一个新的方法对象,*func* 应为任意可调用对象,*self* 为该方法应绑定的实例。 在方法被调用时 *func* 将作为函数被调用。 "
"*self* 必须不为 ``NULL``。"
#:../../c-api/method.rst:79
msgid"Return the function object associated with the method *meth*."
msgstr"返回关联到方法 *meth* 的函数对象。"
#:../../c-api/method.rst:84
msgid""
"Macro version of :c:func:`PyMethod_Function` which avoids error checking."
msgstr"宏版本的 :c:func:`PyMethod_Function`,略去了错误检测。"
#:../../c-api/method.rst:89
msgid"Return the instance associated with the method *meth*."
msgstr"返回关联到方法 *meth* 的实例。"
#:../../c-api/method.rst:94
msgid"Macro version of :c:func:`PyMethod_Self` which avoids error checking."
msgstr"宏版本的 :c:func:`PyMethod_Self`,省略了错误检测。"
#:../../c-api/method.rst:99
msgid"Clear the free list. Return the total number of freed items."
msgstr"清空释放列表。 返回所释放的条目数。"