-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathmethod.po
More file actions
102 lines (90 loc) · 4.42 KB
/
method.po
File metadata and controls
102 lines (90 loc) · 4.42 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
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 1990-2021, Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
# 秘湯 <xwhhsprings@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Python 2.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-01 01:01+0900\n"
"PO-Revision-Date: 2019-09-01 05:18+0000\n"
"Last-Translator: tomo\n"
"Language-Team: Japanese (http://www.transifex.com/python-doc/python-27/"
"language/ja/)\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../c-api/method.rst:6
msgid "Method Objects"
msgstr "メソッドオブジェクト"
#: ../../c-api/method.rst:10
msgid ""
"There are some useful functions that are useful for working with method "
"objects."
msgstr "C API にはメソッドオブジェクトを扱うのに便利な関数があります。"
#: ../../c-api/method.rst:17
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:23
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:29
msgid ""
"Return a new method object, with *func* being any callable object; this is "
"the function that will be called when the method is called. If this method "
"should be bound to an instance, *self* should be the instance and *class* "
"should be the class of *self*, otherwise *self* should be *NULL* and *class* "
"should be the class which provides the unbound method.."
msgstr ""
"任意の呼び出し可能オブジェクト *func* を使った新たなメソッドオブジェクトを返"
"します; 関数 *func* は、メソッドが呼び出された時に呼び出されるオブジェクトで"
"す。このメソッドをインスタンスに束縛 (bind) したい場合、 *self* をインスタン"
"ス自体にして、 *class* を *self* のクラスにしなければなりません。それ以外の場"
"合は *self* を *NULL* に、 *class* を非束縛メソッドを提供しているクラスにしな"
"ければなりません。"
#: ../../c-api/method.rst:38
msgid ""
"Return the class object from which the method *meth* was created; if this "
"was created from an instance, it will be the class of the instance."
msgstr ""
"メソッドオブジェクト *meth* を生成したクラスオブジェクトを返します; インスタ"
"ンスがメソッドオブジェクトを生成した場合、戻り値はインスタンスのクラスになり"
"ます。"
#: ../../c-api/method.rst:44
msgid "Macro version of :c:func:`PyMethod_Class` which avoids error checking."
msgstr ""
":c:func:`PyMethod_Class` をマクロで実装したバージョンで、エラーチェックを行い"
"ません。"
#: ../../c-api/method.rst:49
msgid "Return the function object associated with the method *meth*."
msgstr "メソッド *meth* に関連付けられている関数オブジェクトを返します。"
#: ../../c-api/method.rst:54
msgid ""
"Macro version of :c:func:`PyMethod_Function` which avoids error checking."
msgstr ":c:func:`PyMethod_Function` のマクロ版で、エラーチェックを行いません。"
#: ../../c-api/method.rst:59
msgid ""
"Return the instance associated with the method *meth* if it is bound, "
"otherwise return *NULL*."
msgstr ""
"*meth* が束縛メソッドの場合には、メソッドに関連付けられているインスタンスを返"
"します。それ以外の場合には *NULL* を返します。"
#: ../../c-api/method.rst:65
msgid "Macro version of :c:func:`PyMethod_Self` which avoids error checking."
msgstr ":c:func:`PyMethod_Self` のマクロ版で、エラーチェックを行いません。"
#: ../../c-api/method.rst:70
msgid "Clear the free list. Return the total number of freed items."
msgstr "free list をクリアします。解放された要素数を返します。"