# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # python-doc bot, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-03-17 14:51+0000\n" "PO-Revision-Date: 2025-09-16 00:00+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" "ja/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ja\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:type:`PyCFunction` and the new way " "to bind a :c:type:`PyCFunction` to a class object. It replaces the former " "call ``PyMethod_New(func, NULL, class)``." msgstr "" #: ../../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``. This function " "always succeeds." msgstr "" "*o* がインスタンスメソッドオブジェクト (:c:data:`PyInstanceMethod_Type` 型で" "ある) 場合に真を返します。パラメータは ``NULL`` にできません。この関数は常に" "成功します。" #: ../../c-api/method.rst:30 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:37 msgid "Return the function object associated with the instance method *im*." msgstr "インスタンスメソッド *im* に関連付けられた関数オブジェクトを返します。" #: ../../c-api/method.rst:42 msgid "" "Macro version of :c:func:`PyInstanceMethod_Function` which avoids error " "checking." msgstr "" ":c:func:`PyInstanceMethod_Function` のマクロ版で、エラーチェックを行いませ" "ん。" #: ../../c-api/method.rst:48 msgid "Method Objects" msgstr "メソッドオブジェクト" #: ../../c-api/method.rst:52 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:61 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:67 msgid "" "Return true if *o* is a method object (has type :c:data:`PyMethod_Type`). " "The parameter must not be ``NULL``. This function always succeeds." msgstr "" "*o* がメソッドオブジェクト (:c:data:`PyMethod_Type` 型である) 場合に真を返し" "ます。パラメータは ``NULL`` にできません。この関数は常に成功します。" #: ../../c-api/method.rst:73 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* を使った新たなメソッドオブジェクトを返します。\n" "関数 *func* は、メソッドが呼び出された時に呼び出されるオブジェクトです。\n" "*self* は ``NULL`` にできません。" #: ../../c-api/method.rst:80 msgid "Return the function object associated with the method *meth*." msgstr "メソッド *meth* に関連付けられている関数オブジェクトを返します。" #: ../../c-api/method.rst:85 msgid "" "Macro version of :c:func:`PyMethod_Function` which avoids error checking." msgstr ":c:func:`PyMethod_Function` のマクロ版で、エラーチェックを行いません。" #: ../../c-api/method.rst:90 msgid "Return the instance associated with the method *meth*." msgstr "メソッド *meth* に関連付けられたインスタンスを返します。" #: ../../c-api/method.rst:95 msgid "Macro version of :c:func:`PyMethod_Self` which avoids error checking." msgstr ":c:func:`PyMethod_Self` のマクロ版で、エラーチェックを行いません。" #: ../../c-api/method.rst:8 ../../c-api/method.rst:50 msgid "object" msgstr "object" #: ../../c-api/method.rst:8 msgid "instancemethod" msgstr "instancemethod" #: ../../c-api/method.rst:50 msgid "method" msgstr "メソッド" #: ../../c-api/method.rst:59 msgid "MethodType (in module types)" msgstr "MethodType (in module types)"