Repository navigation
Expand file tree
/
Copy pathreflection.po
More file actions
76 lines (59 loc) · 7.94 KB
/
Copy pathreflection.po
File metadata and controls
76 lines (59 loc) · 7.94 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
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Danial Behzadi <dani.behzi@ubuntu.com>, 2025
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
# Revisto <theRevisto@gmail.com>, 2025
# Sepehr Rasouli <sepehrrasouli06@gmail.com>, 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: 2026-09-15 13:23+0330\n"
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 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"
"X-Generator: Poedit 3.6\n"
msgid "Reflection"
msgstr "بازتاب"
msgid "Use :c:func:`PyEval_GetFrameBuiltins` instead."
msgstr "بهجای آن از :c:func:`PyEval_GetFrameBuiltins` استفاده کنید."
msgid "Return a dictionary of the builtins in the current execution frame, or the interpreter of the thread state if no frame is currently executing."
msgstr "بازگرداندن دیکشنریای از توکارها در فریم اجرای فعلی، یا در مفسر وضعیت نخ، در صورتی که هیچ فریمی در حال اجرا نباشد."
msgid "Use either :c:func:`PyEval_GetFrameLocals` to obtain the same behaviour as calling :func:`locals` in Python code, or else call :c:func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame` to access the :attr:`~frame.f_locals` attribute of the currently executing frame."
msgstr "برای به دست آوردن همان رفتاری که فراخوانی :func:`locals` در کد پایتون دارد، از :c:func:`PyEval_GetFrameLocals` استفاده کنید، یا برای دسترسی به ویژگی :attr:`~frame.f_locals` از فریم در حال اجرا، :c:func:`PyFrame_GetLocals` را بر روی نتیجهی :c:func:`PyEval_GetFrame` فراخوانی کنید."
msgid "Return a mapping providing access to the local variables in the current execution frame, or ``NULL`` if no frame is currently executing."
msgstr "نگاشتی را برمیگرداند که دسترسی به متغیرهای محلی در فریم اجرای فعلی (execution frame) را فراهم میکند، یا اگر هماکنون هیچ فریمی در حال اجرا نباشد، ``NULL`` برمیگرداند."
msgid "Refer to :func:`locals` for details of the mapping returned at different scopes."
msgstr "برای جزئیات نگاشتی که در محدودههای مختلف بازگردانده میشود، به :func:`locals` مراجعه کنید."
msgid "As this function returns a :term:`borrowed reference`, the dictionary returned for :term:`optimized scopes <optimized scope>` is cached on the frame object and will remain alive as long as the frame object does. Unlike :c:func:`PyEval_GetFrameLocals` and :func:`locals`, subsequent calls to this function in the same frame will update the contents of the cached dictionary to reflect changes in the state of the local variables rather than returning a new snapshot."
msgstr "از آنجا که این تابع یک :term:`ارجاع امانتی <borrowed reference>` برمیگرداند، دیکشنری برگرداندهشده برای :term:`محدودههای بهینهشده <optimized scope>` روی شیء فریم نهانگاه میشود و تا زمانی که شیء فریم زنده است، زنده باقی میماند. برخلاف :c:func:`PyEval_GetFrameLocals` و :func:`locals`، فراخوانیهای بعدی این تابع در همان فریم، محتوای دیکشنری نهانگاهشده را بهروزرسانی میکنند تا تغییرات وضعیت متغیرهای محلی را منعکس کنند، نه اینکه تصویر لحظهای جدیدی برگردانند."
msgid "As part of :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals`, and :attr:`FrameType.f_locals <frame.f_locals>` no longer make use of the shared cache dictionary. Refer to the :ref:`What's New entry <whatsnew313-locals-semantics>` for additional details."
msgstr "به عنوان بخشی از :pep:`667`، :c:func:`PyFrame_GetLocals`، :func:`locals` و :attr:`FrameType.f_locals <frame.f_locals>` دیگر از دیکشنری نهانگاه مشترک استفاده نمیکنند. برای جزئیات بیشتر به :ref:`مدخل تازهها <whatsnew313-locals-semantics>` مراجعه کنید."
msgid "Use :c:func:`PyEval_GetFrameGlobals` instead."
msgstr "به جای آن از :c:func:`PyEval_GetFrameGlobals` استفاده کنید."
msgid "Return a dictionary of the global variables in the current execution frame, or ``NULL`` if no frame is currently executing."
msgstr "دیکشنریای از متغیرهای سراسری در فریم اجرای فعلی را برمیگرداند، یا ``NULL`` اگر هماکنون هیچ فریمی در حال اجرا نباشد."
msgid "Return the :term:`attached thread state`'s frame, which is ``NULL`` if no frame is currently executing."
msgstr "فریم :term:`attached thread state` را برمیگرداند که اگر در حال حاضر هیچ فریمی در حال اجرا نباشد، ``NULL`` است."
msgid "See also :c:func:`PyThreadState_GetFrame`."
msgstr "همچنین :c:func:`PyThreadState_GetFrame` را ببینید."
msgid "Return a dictionary of the local variables in the current execution frame, or ``NULL`` if no frame is currently executing. Equivalent to calling :func:`locals` in Python code."
msgstr "یک دیکشنری از متغیرهای محلی در فریم اجرای فعلی را برمیگرداند، یا ``NULL`` اگر در حال حاضر هیچ فریمی در حال اجرا نباشد. معادل فراخوانی :func:`locals` در کد پایتون است."
msgid "To access :attr:`~frame.f_locals` on the current frame without making an independent snapshot in :term:`optimized scopes <optimized scope>`, call :c:func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`."
msgstr "برای دسترسی به :attr:`~frame.f_locals` در فریم فعلی بدون ایجاد تصویر لحظهای مستقل در :term:`محدودههای بهینهشده <optimized scope>`، :c:func:`PyFrame_GetLocals` را روی نتیجهی :c:func:`PyEval_GetFrame` فراخوانی کنید."
msgid "Return a dictionary of the global variables in the current execution frame, or ``NULL`` if no frame is currently executing. Equivalent to calling :func:`globals` in Python code."
msgstr "یک دیکشنری از متغیرهای سراسری در فریم اجرای جاری برمیگرداند، یا اگر هیچ فریمی در حال اجرا نباشد، ``NULL`` برمیگرداند. معادل فراخوانی :func:`globals` در کد پایتون است."
msgid "Return the name of *func* if it is a function, class or instance object, else the name of *func*\\s type."
msgstr "اگر *func* یک تابع، کلاس یا شیء نمونه باشد، نام *func* و در غیر این صورت نام نوع *func* را برمیگرداند."
msgid "Return a description string, depending on the type of *func*. Return values include \"()\" for functions and methods, \" constructor\", \" instance\", and \" object\". Concatenated with the result of :c:func:`PyEval_GetFuncName`, the result will be a description of *func*."
msgstr "بسته به نوع *func*، یک رشتهی توصیفی برمیگرداند. مقادیر بازگشتی شامل \"()\" برای توابع و متدها، \" constructor\"، \" instance\" و \" object\" است. اگر با نتیجهی :c:func:`PyEval_GetFuncName` الحاق شود، نتیجه، توصیفی از *func* خواهد بود."