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 509ae3a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: c-api/code.po
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ msgid "Enumeration of possible code object watcher events: - ``PY_CODE_EVENT_CRE
113
113
msgstr"شمارش رویدادهای ممکن دیدهبان شیء کد: - ``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
114
114
115
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""
116
+
msgstr"ماکرو *V* را روی هر پسوند از ثابتهای :c:type:`PyCodeEvent` اعمال کنید. در حال حاضر به صورت ``V(CREATE) V(DESTROY)`` گسترش مییابد. ماکرو *V* باید یک نام رویداد را بپذیرد و هرگونه علائم نگارشی مورد نیاز بین گسترشها را فراهم کند."
117
117
118
118
msgid"Type of a code object watcher callback function."
Copy file name to clipboardExpand all lines: c-api/descriptor.po
+9-11Lines changed: 9 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -62,21 +62,19 @@ msgid "The type object for method descriptor objects created from :c:type:`PyMet
62
62
msgstr"شیء نوع برای اشیاء توصیفگر متد که از ساختارهای :c:type:`PyMethodDef` ایجاد شدهاند. این توصیفگرها توابع C را بهعنوان متدهایی روی یک نوع در دسترس قرار میدهند و معادل اشیاء :class:`types.MethodDescriptorType` در پایتون هستند."
63
63
64
64
msgid"The type object for wrapper descriptor objects created by :c:func:`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`."
65
-
msgstr""
65
+
msgstr"شیء نوع داده برای اشیای توصیفگر پوششی ایجادشده توسط :c:func:`PyDescr_NewWrapper` و :c:func:`PyWrapper_New`."
66
66
67
-
#,fuzzy
68
-
#| 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."
69
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`."
70
-
msgstr"توصیفگرهای پوششی، متدهای ویژهای را که توسط جایگاههای نوع پیادهسازی شدهاند، در دسترس قرار میدهند. این همان نوع توصیفگری است که سیپایتون برای متدهای ویژهی مبتنی بر جایگاه مانند ``__repr__`` یا ``__add__`` ایجاد میکند و در پایتون بهصورت یک شیء :class:`types.WrapperDescriptorType` ظاهر میشود."
68
+
msgstr"توصیفگرهای پوششی به صورت داخلی برای نمایش متدهای ویژهای مانند ``__repr__`` یا ``__add__`` استفاده میشوند که توسط جایگاههای نوع پیادهسازی شدهاند. این نوع در پایتون به صورت :class:`types.WrapperDescriptorType` نمایش داده میشود."
71
69
72
70
msgid"Create a new wrapper descriptor of type :c:var:`PyWrapperDescr_Type`."
73
-
msgstr""
71
+
msgstr"یک توصیفگر پوششی جدید از نوع :c:var:`PyWrapperDescr_Type` ایجاد کنید."
74
72
75
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."
76
-
msgstr""
74
+
msgstr"این تابع فقط برای استفادهی داخلی در نظر گرفته شده است؛ آن و APIهای مرتبط (``struct wrapperbase`` و پرچم ``PyWrapperFlag_KEYWORDS``) به دلایل سازگاری با نسخههای پیشین به صورت عمومی ارائه شدهاند."
77
75
78
76
msgid"See :c:func:`PyCMethod_New` for wrapping a C function."
79
-
msgstr""
77
+
msgstr"برای بستهبندی یک تابع C به :c:func:`PyCMethod_New` مراجعه کنید."
80
78
81
79
msgid"Create a new class method descriptor for extension type *type* from the :c:type:`PyMethodDef` structure *method*."
82
80
msgstr"یک توصیفگر متد کلاس جدید برای نوع توسعهای *type* از ساختار :c:type:`PyMethodDef` به نام *method* ایجاد میکند."
@@ -97,16 +95,16 @@ msgid "On success, return a :term:`strong reference` to the wrapper object. Retu
97
95
msgstr"در صورت موفقیت، یک :term:`ارجاع قوی <strong reference>` به شیء پوششی برمیگرداند. در صورت شکل، ``NULL`` را همراه با یک استثنای تنظیمشده برمیگرداند."
98
96
99
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."
100
-
msgstr""
98
+
msgstr"یک :term:`ارجاع امانتی <borrowed reference>` به نوعی که توصیفگر *descr* به آن تعلق دارد، برگردانید. این مقدار در پایتون به عنوان :attr:`~object.__objclass__` قابل دسترسی است."
101
99
102
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."
103
-
msgstr""
101
+
msgstr"*descr* باید یک شیء توصیفگر باشد که توسط یکی از توابع ``PyDescr_New*`` ایجاد شده است (یک نمونه از :c:var:`PyMethodDescr_Type`، :c:var:`PyClassMethodDescr_Type`، :c:var:`PyMemberDescr_Type`، :c:var:`PyGetSetDescr_Type` یا :c:var:`PyWrapperDescr_Type`). اگر توصیفگر ارسالشده نمونهای از یکی از این نوعها نباشد، رفتار نامشخص خواهد بود."
104
102
105
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."
106
-
msgstr""
104
+
msgstr"نام توصیفگر *descr* را به عنوان یک :term:`ارجاع امانتی <borrowed reference>` به یک شیء :class:`str` برگردانید. این مقدار در پایتون به عنوان :attr:`~definition.__name__` در دسترس است."
107
105
108
106
msgid"*descr* must be a descriptor object created by one of the ``PyDescr_New*`` functions. If not, the behavior is undefined."
109
-
msgstr""
107
+
msgstr"*descr* باید یک شیء توصیفگر باشد که توسط یکی از توابع ``PyDescr_New*`` ایجاد شده است. در غیر این صورت، رفتار نامشخص خواهد بود."
Copy file name to clipboardExpand all lines: c-api/dict.po
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -289,7 +289,7 @@ msgid "Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``
289
289
msgstr"برشمردن رویدادهای ممکن دیدهبان دیکشنری: ``PyDict_EVENT_ADDED``، ``PyDict_EVENT_MODIFIED``، ``PyDict_EVENT_DELETED``، ``PyDict_EVENT_CLONED``، ``PyDict_EVENT_CLEARED`` یا ``PyDict_EVENT_DEALLOCATED``."
290
290
291
291
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."
292
-
msgstr""
292
+
msgstr"ماکرو *V* را روی هر پسوند از ثابتهای :c:type:`PyDict_WatchEvent` اعمال کنید. در حال حاضر به صورت ``V(ADDED) V(MODIFIED) V(DELETED) V(CLONED) V(CLEARED) V(DEALLOCATED)`` گسترش مییابد. ماکرو *V* باید یک نام رویداد را بپذیرد و هرگونه علائم نگارشی مورد نیاز بین گسترشها را فراهم کند."
Copy file name to clipboardExpand all lines: c-api/exceptions.po
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -202,7 +202,7 @@ msgid "For information about warning control, see the documentation for the :mod
202
202
msgstr"برای کسب اطلاعات دربارهی کنترل هشدارها، به مستندات ماژول :mod:`warnings` و گزینهی :option:`-W` در مستندات خط فرمان مراجعه کنید. برای کنترل هشدارها API زبان C وجود ندارد."
203
203
204
204
msgid"Equivalent to :c:expr:`PyErr_WarnEx(category, message, 1)`."
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."
208
208
msgstr"یک پیام هشدار با کنترل صریح بر تمام ویژگیهای هشدار صادر میکند. این پوششی ساده در اطراف تابع پایتونی :func:`warnings.warn_explicit` است؛ برای اطلاعات بیشتر به آنجا مراجعه کنید. آرگومانهای *module* و *registry* میتوانند روی ``NULL`` تنظیم شوند تا اثر پیشفرضِ توصیفشده در آنجا به دست آید."
@@ -544,7 +544,7 @@ msgid "The function then checks if the stack limit is reached. If this is the c
544
544
msgstr"سپس تابع بررسی میکند که آیا به حد پشته رسیده است یا خیر. اگر چنین باشد، یک :exc:`RecursionError` تنظیم میشود و مقدار غیرصفر بازگردانده میشود. در غیر این صورت، صفر بازگردانده میشود."
545
545
546
546
msgid"The check is based on the remaining C stack space of the current thread, not on a count of calls, so it is unaffected by :c:func:`Py_SetRecursionLimit` and :func:`sys.setrecursionlimit`."
547
-
msgstr""
547
+
msgstr"این بررسی بر اساس فضای پشتهی C باقیمانده از نخ فعلی انجام میشود، نه بر اساس تعداد فراخوانیها، بنابراین تحتتأثیر :c:func:`Py_SetRecursionLimit` و :func:`sys.setrecursionlimit` قرار نمیگیرد."
548
548
549
549
msgid"*where* should be a UTF-8 encoded string such as ``\" in instance check\"`` to be concatenated to the :exc:`RecursionError` message caused by the recursion depth limit."
550
550
msgstr"*where* باید یک رشتهی کدگذاریشده با UTF-8 مانند ``\" in instance check\"`` باشد تا به پیام :exc:`RecursionError` که ناشی از محدودیت عمق بازگشت است، الحاق شود."
@@ -556,7 +556,7 @@ msgid "This function is now also available in the :ref:`limited API <limited-c-a
556
556
msgstr"این تابع اکنون در :ref:`API محدود <limited-c-api>` نیز در دسترس است."
557
557
558
558
msgid"The check is based on the remaining C stack space. Previously, a separate counter of C-level calls was used."
559
-
msgstr""
559
+
msgstr"این بررسی بر اساس فضای پشتهی C باقیمانده انجام میشود. پیش از این، از شمارندهی مجزایی برای فراخوانیهای سطح C استفاده میشد."
560
560
561
561
msgid"Ends a :c:func:`Py_EnterRecursiveCall`. Must be called once for each *successful* invocation of :c:func:`Py_EnterRecursiveCall`."
562
562
msgstr"یک :c:func:`Py_EnterRecursiveCall` را پایان میدهد. باید یکبار برای هر فراخوانی *موفق* :c:func:`Py_EnterRecursiveCall` فراخوانی شود."
Copy file name to clipboardExpand all lines: c-api/file.po
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -43,16 +43,16 @@ msgid "Equivalent to ``p.readline([n])``, this function reads one line from the
43
43
msgstr"این تابع معادل ``p.readline([n])`` است و یک سطر از شیء *p* میخواند. *p* میتواند یک شیء پرونده یا هر شیء دارای متد :meth:`~io.IOBase.readline` باشد. اگر *n* برابر ``0`` باشد، دقیقاً یک سطر خوانده میشود، بدون توجه به طول سطر. اگر *n* بزرگتر از ``0`` باشد، بیش از *n* بایت از پرونده خوانده نمیشود؛ ممکن است سطر ناقصی برگردانده شود. در هر دو حالت، اگر بلافاصله به پایان پرونده برسیم، رشتهای خالی برگردانده میشود. اما اگر *n* کوچکتر از ``0`` باشد، یک سطر بدون توجه به طول خوانده میشود، ولی اگر بلافاصله به پایان پرونده برسیم، :exc:`EOFError` پرتاب میشود."
44
44
45
45
msgid"Read a line from the C stream *stream* into the buffer *buf*, like the C standard library function :c:func:`!fgets`, but treating all of ``\\n``, ``\\r`` and ``\\r\\n`` as line endings (see :term:`universal newlines`). Any ``\\r`` or ``\\r\\n`` read from the stream is stored in *buf* as a single ``\\n``."
46
-
msgstr""
46
+
msgstr"یک سطر را از جریان (stream) C با نام *stream* در بافر *buf* بخوانید، درست مانند تابع کتابخانهی استاندارد C یعنی :c:func:`!fgets`، با این تفاوت که تمام موارد ``\\n``، ``\\r`` و ``\\r\\n`` را به عنوان پایاندهندههای سطر در نظر میگیرد (به :term:`سطرهای جدید همگانی <universal newlines>` مراجعه کنید). هر ``\\r`` یا ``\\r\\n`` خواندهشده از جریان، به عنوان یک ``\\n`` واحد در *buf* ذخیره میشود."
47
47
48
48
msgid"At most ``n - 1`` characters are stored in *buf*; reading stops after a newline has been stored or when the end of the file is reached. The result is always null-terminated. *stream* should be opened in binary mode, so that the C library does not perform its own newline translation."
49
-
msgstr""
49
+
msgstr"حداکثر ``n - 1`` نویسه در *buf* ذخیره میشود؛ خواندن پس از ذخیرهشدن یک نویسهی سطر جدید یا رسیدن به انتهای پرونده متوقف میشود. نتیجه همیشه دارای پایاندهندهی تهی (null-terminated) است. *stream* باید در حالت دودویی باز شود تا کتابخانهی C ترجمهی سطر جدید خود را انجام ندهد."
50
50
51
51
msgid"Return *buf* on success. Return ``NULL`` if no characters could be read, because *stream* is at end of file, a read error occurred, or *n* is less than 2. Like :c:func:`!fgets`, this function does not distinguish between end of file and a read error, and it does not set an exception."
52
-
msgstr""
52
+
msgstr"در صورت موفقیت، *buf* را برگردانید. اگر هیچ نویسهای قابل خواندن نباشد، به این دلیل که *stream* در انتهای پرونده است، خطای خواندنی رخ داده است، یا *n* کمتر از ۲ است، ``NULL`` را برگردانید. درست مانند :c:func:`!fgets`، این تابع بین انتهای پرونده و خطای خواندن تمایز قائل نمیشود و استثنایی را تنظیم نمیکند."
53
53
54
54
msgid"*fobj* exists only for backward compatibility and must be ``NULL``."
55
-
msgstr""
55
+
msgstr"مورد *fobj* صرفاً برای سازگاری عقبگرد وجود دارد و باید ``NULL`` باشد."
56
56
57
57
msgid"Overrides the normal behavior of :func:`io.open_code` to pass its parameter through the provided handler."
58
58
msgstr"رفتار عادی :func:`io.open_code` را بازتعریف میکند تا پارامتر خود را از هندلر ارائهشده عبور دهد."
@@ -115,7 +115,7 @@ msgid "Type of file-like objects used internally at Python startup when :py:mod:
115
115
msgstr"نوع اشیای شبهپروندهای که در زمان راهاندازی پایتون، هنگامی که :py:mod:`io` هنوز در دسترس نیست، بهطور داخلی استفاده میشوند. بهجای آن، برای ایجاد اشیای پرونده از :py:func:`open` پایتون یا :c:func:`PyFile_FromFd` استفاده کنید."
116
116
117
117
msgid"The string literal ``\"b\"``, used to open files in binary mode. Exposed for backwards compatibility only."
118
-
msgstr""
118
+
msgstr"رشتهی لفظی ``\"b\"``، که برای باز کردن پروندهها در حالت دودویی استفاده میشود. صرفاً برای سازگاری عقبگرد آشکارسازی شده است."
0 commit comments