You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 077cd53
Browse filesBrowse the repository at this point in the historyBrowse files
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -112,6 +112,9 @@ msgstr "پاک کردن پایشگر (watcher) شناساییشده با *wat
112
112
msgid"Enumeration of possible code object watcher events: - ``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
113
113
msgstr"شمارش رویدادهای ممکن دیدهبان شیء کد: - ``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
114
114
115
+
msgid"Apply the macro *V* to each suffix of :c:type:`PyCodeEvent` constants. Currently expands to ``V(CREATE) V(DESTROY)``. The macro *V* must accept one event name and supply any punctuation needed between expansions."
116
+
msgstr""
117
+
115
118
msgid"Type of a code object watcher callback function."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -59,20 +59,22 @@ msgstr "توصیفگرهای متد، توابع C را بهصورت مت
59
59
msgid"The type object for method descriptor objects created from :c:type:`PyMethodDef` structures. These descriptors expose C functions as methods on a type, and correspond to :class:`types.MethodDescriptorType` objects in Python."
60
60
msgstr"شیء نوع برای اشیاء توصیفگر متد که از ساختارهای :c:type:`PyMethodDef` ایجاد شدهاند. این توصیفگرها توابع C را بهعنوان متدهایی روی یک نوع در دسترس قرار میدهند و معادل اشیاء :class:`types.MethodDescriptorType` در پایتون هستند."
61
61
62
-
msgid"Describes a slot wrapper used by :c:func:`PyDescr_NewWrapper`."
63
-
msgstr"یک دربرگیرندهی جایگاه را توصیف میکند که توسط :c:func:`PyDescr_NewWrapper` استفاده میشود."
62
+
msgid"The type object for wrapper descriptor objects created by :c:func:`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`."
63
+
msgstr""
64
64
65
-
msgid"Each ``wrapperbase`` record stores the Python-visible name and metadata for a special method implemented by a type slot, together with the wrapper function used to adapt that slot to Python's calling convention."
66
-
msgstr"هر رکورد ``wrapperbase`` نام قابلمشاهده در پایتون و فرادادهی متد ویژهای را که توسط یک جایگاه نوع پیادهسازی شده است، به همراه تابع پوششیای که برای تطبیق آن جایگاه با قرارداد فراخوانی پایتون استفاده میشود، ذخیره میکند."
65
+
#,fuzzy
66
+
#| msgid "Wrapper descriptors expose special methods implemented by type slots. This is the same kind of descriptor that CPython creates for slot-based special methods such as ``__repr__`` or ``__add__``, and it appears in Python as a :class:`types.WrapperDescriptorType` object."
67
+
msgid"Wrapper descriptors are used internally to expose special methods such as ``__repr__`` or ``__add__``, which are implemented by type slots. The type is exposed in Python as :class:`types.WrapperDescriptorType`."
68
+
msgstr"توصیفگرهای پوششی، متدهای ویژهای را که توسط جایگاههای نوع پیادهسازی شدهاند، در دسترس قرار میدهند. این همان نوع توصیفگری است که سیپایتون برای متدهای ویژهی مبتنی بر جایگاه مانند ``__repr__`` یا ``__add__`` ایجاد میکند و در پایتون بهصورت یک شیء :class:`types.WrapperDescriptorType` ظاهر میشود."
67
69
68
-
msgid"Create a new wrapper descriptor for extension type *type* from the :c:struct:`wrapperbase` structure *base* and the wrapped slot function pointer *wrapped*."
69
-
msgstr"یک توصیفگر پوششی جدید برای نوع توسعهای *type* از ساختار :c:struct:`wrapperbase` به نام *base* و اشارهگر تابع جایگاه دربرگرفتهشده به نام *wrapped* میسازد."
70
+
msgid"Create a new wrapper descriptor of type :c:var:`PyWrapperDescr_Type`."
71
+
msgstr""
70
72
71
-
msgid"Wrapper descriptors expose special methods implemented by type slots. This is the same kind of descriptor that CPython creates for slot-based special methods such as ``__repr__`` or ``__add__``, and it appears in Python as a :class:`types.WrapperDescriptorType` object."
72
-
msgstr"توصیفگرهای پوششی، متدهای ویژهای را که توسط جایگاههای نوع پیادهسازی شدهاند، در دسترس قرار میدهند. این همان نوع توصیفگری است که سیپایتون برای متدهای ویژهی مبتنی بر جایگاه مانند ``__repr__`` یا ``__add__`` ایجاد میکند و در پایتون بهصورت یک شیء :class:`types.WrapperDescriptorType` ظاهر میشود."
73
+
msgid"This function is meant for internal use only; it and related API (``struct wrapperbase`` and the ``PyWrapperFlag_KEYWORDS`` flag) are exposed publicly for backwards compatibility reasons."
74
+
msgstr""
73
75
74
-
msgid"The type object for wrapper descriptor objects created by :c:func:`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`. Wrapper descriptors are used internally to expose special methods implemented via wrapper structures, and appear in Python as :class:`types.WrapperDescriptorType` objects."
75
-
msgstr"شیء نوع برای اشیاء توصیفگر پوششی که توسط :c:func:`PyDescr_NewWrapper` و :c:func:`PyWrapper_New` ایجاد میشوند. توصیفگرهای پوششی بهطور داخلی برای در دسترس قرار دادن متدهای ویژهای که از طریق ساختارهای پوششی پیادهسازی شدهاند استفاده میشوند و در پایتون بهصورت اشیاء :class:`types.WrapperDescriptorType` ظاهر میشوند."
76
+
msgid"See :c:func:`PyCMethod_New` for wrapping a C function."
77
+
msgstr""
76
78
77
79
msgid"Create a new class method descriptor for extension type *type* from the :c:type:`PyMethodDef` structure *method*."
78
80
msgstr"یک توصیفگر متد کلاس جدید برای نوع توسعهای *type* از ساختار :c:type:`PyMethodDef` به نام *method* ایجاد میکند."
@@ -92,6 +94,18 @@ msgstr "این، شکل مقیدِ یک توصیفگر پوششی (wrapper de
92
94
msgid"On success, return a :term:`strong reference` to the wrapper object. Return ``NULL`` with an exception set on failure."
93
95
msgstr"در صورت موفقیت، یک :term:`ارجاع قوی <strong reference>` به شیء پوششی برمیگرداند. در صورت شکل، ``NULL`` را همراه با یک استثنای تنظیمشده برمیگرداند."
94
96
97
+
msgid"Return a :term:`borrowed reference` to the type that the descriptor *descr* belongs to. This is accessible as :attr:`~object.__objclass__` in Python."
98
+
msgstr""
99
+
100
+
msgid"*descr* must be a descriptor object created by one of the ``PyDescr_New*`` functions (an instance of :c:var:`PyMethodDescr_Type`, :c:var:`PyClassMethodDescr_Type`, :c:var:`PyMemberDescr_Type`, :c:var:`PyGetSetDescr_Type`, or :c:var:`PyWrapperDescr_Type`). If the passed descriptor is not an instance of one of these types, the behavior is undefined."
101
+
msgstr""
102
+
103
+
msgid"Return the name of the descriptor *descr* as a :term:`borrowed reference` to a :class:`str` object. This is available as :attr:`~definition.__name__` in Python."
104
+
msgstr""
105
+
106
+
msgid"*descr* must be a descriptor object created by one of the ``PyDescr_New*`` functions. If not, the behavior is undefined."
107
+
msgstr""
108
+
95
109
msgid"This is a macro including the common fields for a descriptor object."
96
110
msgstr"این یک کلاندستور است که شامل فیلدهای مشترک برای یک شیء توصیفگر است."
97
111
@@ -128,5 +142,17 @@ msgstr "یک شیء :class:`staticmethod` جدید ایجاد میکند که
128
142
msgid"On success, this function returns a :term:`strong reference` to a new static method descriptor. On failure, this function returns ``NULL`` with an exception set."
129
143
msgstr"در صورت موفقیت، این تابع یک :term:`ارجاع قوی <strong reference>` به توصیفگر جدید متد ایستا برمیگرداند. در صورت شکست، این تابع ``NULL`` را همراه با یک استثنای تنظیمشده برمیگرداند."
130
144
145
+
#~ msgid "Describes a slot wrapper used by :c:func:`PyDescr_NewWrapper`."
146
+
#~ msgstr "یک دربرگیرندهی جایگاه را توصیف میکند که توسط :c:func:`PyDescr_NewWrapper` استفاده میشود."
147
+
148
+
#~ msgid "Each ``wrapperbase`` record stores the Python-visible name and metadata for a special method implemented by a type slot, together with the wrapper function used to adapt that slot to Python's calling convention."
149
+
#~ msgstr "هر رکورد ``wrapperbase`` نام قابلمشاهده در پایتون و فرادادهی متد ویژهای را که توسط یک جایگاه نوع پیادهسازی شده است، به همراه تابع پوششیای که برای تطبیق آن جایگاه با قرارداد فراخوانی پایتون استفاده میشود، ذخیره میکند."
150
+
151
+
#~ msgid "Create a new wrapper descriptor for extension type *type* from the :c:struct:`wrapperbase` structure *base* and the wrapped slot function pointer *wrapped*."
152
+
#~ msgstr "یک توصیفگر پوششی جدید برای نوع توسعهای *type* از ساختار :c:struct:`wrapperbase` به نام *base* و اشارهگر تابع جایگاه دربرگرفتهشده به نام *wrapped* میسازد."
153
+
154
+
#~ msgid "The type object for wrapper descriptor objects created by :c:func:`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`. Wrapper descriptors are used internally to expose special methods implemented via wrapper structures, and appear in Python as :class:`types.WrapperDescriptorType` objects."
155
+
#~ msgstr "شیء نوع برای اشیاء توصیفگر پوششی که توسط :c:func:`PyDescr_NewWrapper` و :c:func:`PyWrapper_New` ایجاد میشوند. توصیفگرهای پوششی بهطور داخلی برای در دسترس قرار دادن متدهای ویژهای که از طریق ساختارهای پوششی پیادهسازی شدهاند استفاده میشوند و در پایتون بهصورت اشیاء :class:`types.WrapperDescriptorType` ظاهر میشوند."
156
+
131
157
#~ msgid "The type object for the built-in descriptor types."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -307,6 +307,9 @@ msgstr "دیکشنری *dict* را بهعنوان دیگر دیدهبان
307
307
msgid"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, ``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, ``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or ``PyDict_EVENT_DEALLOCATED``."
308
308
msgstr"برشمردن رویدادهای ممکن دیدهبان دیکشنری: ``PyDict_EVENT_ADDED``، ``PyDict_EVENT_MODIFIED``، ``PyDict_EVENT_DELETED``، ``PyDict_EVENT_CLONED``، ``PyDict_EVENT_CLEARED`` یا ``PyDict_EVENT_DEALLOCATED``."
309
309
310
+
msgid"Apply the macro *V* to each suffix of :c:type:`PyDict_WatchEvent` constants. Currently expands to ``V(ADDED) V(MODIFIED) V(DELETED) V(CLONED) V(CLEARED) V(DEALLOCATED)``. The macro *V* must accept one event name and supply any punctuation needed between expansions."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -202,6 +202,9 @@ msgstr "دستههای هشدار باید زیرکلاسهایی از :c:
202
202
msgid"For information about warning control, see the documentation for the :mod:`warnings` module and the :option:`-W` option in the command line documentation. There is no C API for warning control."
203
203
msgstr"برای کسب اطلاعات دربارهی کنترل هشدارها، به مستندات ماژول :mod:`warnings` و گزینهی :option:`-W` در مستندات خط فرمان مراجعه کنید. برای کنترل هشدارها API زبان C وجود ندارد."
204
204
205
+
msgid"Equivalent to :c:expr:`PyErr_WarnEx(category, message, 1)`."
206
+
msgstr""
207
+
205
208
msgid"Issue a warning message with explicit control over all warning attributes. This is a straightforward wrapper around the Python function :func:`warnings.warn_explicit`; see there for more information. The *module* and *registry* arguments may be set to ``NULL`` to get the default effect described there."
206
209
msgstr"یک پیام هشدار با کنترل صریح بر تمام ویژگیهای هشدار صادر میکند. این پوششی ساده در اطراف تابع پایتونی :func:`warnings.warn_explicit` است؛ برای اطلاعات بیشتر به آنجا مراجعه کنید. آرگومانهای *module* و *registry* میتوانند روی ``NULL`` تنظیم شوند تا اثر پیشفرضِ توصیفشده در آنجا به دست آید."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -114,6 +114,9 @@ msgstr "به جای آن، از :c:func:`PyFile_FromFd` با مقادیر پیش
114
114
msgid"Type of file-like objects used internally at Python startup when :py:mod:`io` is not yet available. Use Python :py:func:`open` or :c:func:`PyFile_FromFd` to create file objects instead."
115
115
msgstr"نوع اشیای شبهپروندهای که در زمان راهاندازی پایتون، هنگامی که :py:mod:`io` هنوز در دسترس نیست، بهطور داخلی استفاده میشوند. بهجای آن، برای ایجاد اشیای پرونده از :py:func:`open` پایتون یا :c:func:`PyFile_FromFd` استفاده کنید."
116
116
117
+
msgid"The string literal ``\"b\"``, used to open files in binary mode. Exposed for backwards compatibility only."
msgid"Apply the macro *V* to each suffix of :c:type:`PyFunction_WatchEvent` constants. Currently expands to ``V(CREATE) V(DESTROY) V(MODIFY_CODE) V(MODIFY_DEFAULTS) V(MODIFY_KWDEFAULTS) V(MODIFY_QUALNAME)``. The macro *V* must accept one event name and supply any punctuation needed between expansions."
129
+
msgstr""
130
+
128
131
msgid"Type of a function watcher callback function."
0 commit comments