# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001-2020, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # tomo, 2018 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-02-09 18:48+0900\n" "PO-Revision-Date: 2018-06-29 17:48+0000\n" "Last-Translator: tomo, 2018\n" "Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/" "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 "Instance Method Objects" msgstr "インスタンスメソッドオブジェクト(Instance Method Objects)" #: ../../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 "free list をクリアします。解放された要素数を返します。"