# 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: # Alireza Shabani (Revisto) , 2025 # Rafael Fontenelle , 2025 # Sepehr Rasouli , 2026 # msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-09-16 12:56+0000\n" "PO-Revision-Date: 2021-06-28 00:49+0000\n" "Last-Translator: Sepehr Rasouli , 2026\n" "Language-Team: Persian (https://github.com/python/python-docs-fa/)\n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" msgid "Instance Method Objects" msgstr "اشیاء متد نمونه" 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:type:`PyCFunction` و راه جدیدی برای مقید کردن :c:type:`PyCFunction` به یک شیء کلاس است. این متد جایگزین فراخوانی قبلی ``PyMethod_New(func, NULL, class)`` می‌شود." msgid "This instance of :c:type:`PyTypeObject` represents the Python instance method type. It is not exposed to Python programs." msgstr "این نمونه از :c:type:`PyTypeObject` نوع متد نمونه در پایتون را نشان می‌دهد. این نمونه در دسترس برنامه‌های پایتون قرار نمی‌گیرد." 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` باشد)، مقدار true را برمی‌گرداند. این پارامتر نباید ``NULL`` باشد. این تابع همیشه با موفقیت انجام می‌شود." 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* تابعی است که هنگام فراخوانی متد نمونه فراخوانی می‌شود." msgid "Return the function object associated with the instance method *im*." msgstr "شیء تابع مرتبط با متد نمونه‌ی *im* را برمی‌گرداند." msgid "Macro version of :c:func:`PyInstanceMethod_Function` which avoids error checking." msgstr "نسخه‌ی ماکروی :c:func:`PyInstanceMethod_Function` که بررسی خطا را انجام نمی‌دهد." msgid "Method Objects" msgstr "اشیاء متد" 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 "متدها اشیاء تابع مقید هستند. متدها همیشه به نمونه‌ای از یک کلاس تعریف‌شده توسط کاربر مقید هستند. متدهای مقید‌نشده (متدهایی که به شیء کلاس مقید هستند) دیگر در دسترس نیستند." 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` نمایانگر نوع متد پایتون است. این نوع در برنامه‌های پایتون به صورت ``types.MethodType`` در دسترس قرار می‌گیرد." 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` است)، true برمی‌گرداند. پارامتر نباید ``NULL`` باشد. این تابع همیشه با موفقیت اجرا می‌شود." 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`` باشد." msgid "Return the function object associated with the method *meth*." msgstr "شیء تابع مرتبط با متد *meth* را برمی‌گرداند." msgid "Macro version of :c:func:`PyMethod_Function` which avoids error checking." msgstr "نسخه‌ی ماکروی :c:func:`PyMethod_Function` که از بررسی خطا اجتناب می‌کند." msgid "Return the instance associated with the method *meth*." msgstr "نمونه‌ی مرتبط با متد *meth* را برمی‌گرداند." msgid "Macro version of :c:func:`PyMethod_Self` which avoids error checking." msgstr "نسخه‌ی ماکروی :c:func:`PyMethod_Self` که از بررسی خطا اجتناب می‌کند." msgid "object" msgstr "شیء" msgid "instancemethod" msgstr "متد نمونه" msgid "method" msgstr "متد" msgid "MethodType (in module types)" msgstr "MethodType (در ماژول types)"