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 c34b920
Browse filesBrowse the repository at this point in the historyBrowse files
msgstr"همچنین ثابت :c:var:`Py_Version` را ببینید."
612
612
613
-
msgid"Return the platform identifier for the current platform. On Unix, this is formed from the \"official\" name of the operating system, converted to lower case, followed by the major revision number; e.g., for Solaris 2.x, which is also known as SunOS 5.x, the value is ``'sunos5'``. On macOS, it is ``'darwin'``. On Windows, it is ``'win'``. The returned string points into static storage; the caller should not modify its value. The value is available to Python code as ``sys.platform``."
613
+
#,fuzzy
614
+
#| msgid "Return the platform identifier for the current platform. On Unix, this is formed from the \"official\" name of the operating system, converted to lower case, followed by the major revision number; e.g., for Solaris 2.x, which is also known as SunOS 5.x, the value is ``'sunos5'``. On macOS, it is ``'darwin'``. On Windows, it is ``'win'``. The returned string points into static storage; the caller should not modify its value. The value is available to Python code as ``sys.platform``."
615
+
msgid"Return the platform identifier for the current platform. On Unix, this is formed from the \"official\" name of the operating system, converted to lower case, followed by the major revision number; e.g., for Solaris 2.x, which is also known as SunOS 5.x, the value is ``'sunos5'``. On macOS, it is ``'darwin'``. On Windows, it is ``'win32'``. The returned string points into static storage; the caller should not modify its value. The value is available to Python code as ``sys.platform``."
614
616
msgstr"شناسه پلتفرم را برای پلتفرم فعلی برمیگرداند. در یونیکس، این شناسه از نام «رسمی» سیستمعامل — که به حروف کوچک تبدیل شده — و به دنبال آن شماره بازنگری اصلی تشکیل میشود؛ برای مثال، برای Solaris 2.x که با نام SunOS 5.x نیز شناخته میشود، مقدار ``'sunos5'`` است. در macOS این مقدار ``'darwin'`` است. در ویندوز این مقدار ``'win'`` است. رشتهی بازگرداندهشده به حافظهی ایستا اشاره میکند؛ فراخوانکننده نباید مقدار آن را تغییر دهد. این مقدار در کد پایتون بهصورت ``sys.platform`` در دسترس است."
615
617
616
618
msgid"Return the official copyright string for the current Python version, for example"
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -405,7 +405,9 @@ msgstr "با *flags* پیشفرض (``-1``، یا *UNSIGNED_BUFFER* بدون *
405
405
msgid"Macro for converting a Python integer into a process identifier."
406
406
msgstr"ماکرویی برای تبدیل یک عدد صحیح پایتون به شناسه فرایند."
407
407
408
-
msgid"This can be defined as an alias to :c:func:`PyLong_AsLong`, :c:func:`PyLong_FromLongLong`, or :c:func:`PyLong_AsInt`, depending on the size of the system's PID type."
408
+
#,fuzzy
409
+
#| msgid "This can be defined as an alias to :c:func:`PyLong_AsLong`, :c:func:`PyLong_FromLongLong`, or :c:func:`PyLong_AsInt`, depending on the size of the system's PID type."
410
+
msgid"This can be defined as an alias to :c:func:`PyLong_AsLong`, :c:func:`PyLong_AsLongLong`, or :c:func:`PyLong_AsInt`, depending on the size of the system's PID type."
409
411
msgstr"این میتواند بسته به اندازهی نوع PID سیستم، به عنوان نام مستعاری برای :c:func:`PyLong_AsLong`، :c:func:`PyLong_FromLongLong` یا :c:func:`PyLong_AsInt` تعریف شود."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -232,7 +232,9 @@ msgstr ":ref:`جایگاههای حالت ماژول <ext-module-state-slots>
232
232
msgid":c:macro:`Py_mod_token`."
233
233
msgstr":c:macro:`Py_mod_token`."
234
234
235
-
msgid"The *slots* argument may be a ``ModuleSpec``-like object, rather than a true :py:class:`~importlib.machinery.ModuleSpec` instance. Note that previous versions of CPython did not enforce this."
235
+
#,fuzzy
236
+
#| msgid "The *slots* argument may be a ``ModuleSpec``-like object, rather than a true :py:class:`~importlib.machinery.ModuleSpec` instance. Note that previous versions of CPython did not enforce this."
237
+
msgid"The *spec* argument may be a ``ModuleSpec``-like object, rather than a true :py:class:`~importlib.machinery.ModuleSpec` instance. Note that previous versions of CPython did not enforce this."
236
238
msgstr"آرگومان *slots* ممکن است یک شیء شبیه به ``ModuleSpec`` باشد، نه یک نمونهی واقعی :py:class:`~importlib.machinery.ModuleSpec`. توجه داشته باشید که نسخههای قبلی سیپایتون این موضوع را اعمال نمیکردند."
237
239
238
240
msgid"The *def* argument may now be ``NULL``, since modules are not necessarily made from definitions."
msgid"Convenience macros for use in C++11-compatible code. This version of C++ does not allow setting arbitrary union members in literals; instead, these macros set the :c:macro:`PySlot_INTPTR` flag and cast the value to ``(void*)``."
191
191
msgstr"ماکروهای کمکی برای استفاده در کدهای سازگار با C++11. این نسخهی C++ اجازه نمیدهد اعضای اتحادی دلخواه را در مقادیر لفظی تنظیم کنید؛ در عوض، این ماکروها پرچم :c:macro:`PySlot_INTPTR` را تنظیم کرده و مقدار را به ``(void*)`` تبدیل نوع میدهند."
msgid"This slot may not be used with :c:func:`PyType_GetSlot`. Use :c:func:`PyType_GetFlags` instead."
477
477
msgstr"این جایگاه را نمیتوان با :c:func:`PyType_GetSlot` استفاده کرد. بهجای آن از :c:func:`PyType_GetFlags` استفاده کنید."
478
478
479
-
msgid":c:member:`Slot ID <PySlot.sl_id>` for type flags, used to set :c:member:`PyTypeObject.tp_bases`."
479
+
#,fuzzy
480
+
#| msgid ":c:member:`Slot ID <PySlot.sl_id>` for type flags, used to set :c:member:`PyTypeObject.tp_bases`."
481
+
msgid":c:member:`Slot ID <PySlot.sl_id>` for base types, used to set :c:member:`PyTypeObject.tp_bases`."
480
482
msgstr":c:member:`Slot ID <PySlot.sl_id>` برای پرچمهای نوع، که برای تنظیم :c:member:`PyTypeObject.tp_bases` استفاده میشود."
481
483
482
484
msgid"The slot can be set to a tuple of type objects which the newly created type should inherit from, like the \"positional arguments\" of a Python :ref:`class definition <class>`."
@@ -573,7 +575,9 @@ msgstr "یک :ref:`نوع هیپ <heap-types>` از *spec* بسازید و با
573
575
msgid"A non-``NULL`` *metaclass* argument corresponds to the :c:macro:`Py_tp_metaclass` slot."
574
576
msgstr"یک آرگومان *metaclass* غیر-``NULL`` با جایگاه :c:macro:`Py_tp_metaclass` مطابقت دارد."
575
577
576
-
msgid"A non-``NULL`` *bases* argument corresponds to the :c:data:`Py_tp_bases` slot, and takes precedence over :c:data:`Py_tp_bases` and :c:data:`Py_tp_bases` slots."
578
+
#,fuzzy
579
+
#| msgid "A non-``NULL`` *bases* argument corresponds to the :c:data:`Py_tp_bases` slot, and takes precedence over :c:data:`Py_tp_bases` and :c:data:`Py_tp_bases` slots."
580
+
msgid"A non-``NULL`` *bases* argument corresponds to the :c:data:`Py_tp_bases` slot, and takes precedence over :c:data:`Py_tp_base` and :c:data:`Py_tp_bases` slots."
577
581
msgstr"یک آرگومان *bases* غیر-``NULL`` با جایگاه :c:data:`Py_tp_bases` مطابقت دارد و بر جایگاههای :c:data:`Py_tp_bases` و :c:data:`Py_tp_bases` اولویت دارد."
578
582
579
583
msgid"A non-``NULL`` *module* argument corresponds to the :c:macro:`Py_tp_module` slot."
@@ -648,11 +652,18 @@ msgstr "توجه داشته باشید که ممکن است یک آرایهی
648
652
msgid"Each :c:type:`!PyType_Slot` structure ``tpslot`` is interpreted as the following :c:type:`PySlot` structure::"
649
653
msgstr"هر ساختار :c:type:`!PyType_Slot` به نام ``tpslot`` به عنوان ساختار :c:type:`PySlot` زیر تفسیر میشود::"
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -534,7 +534,9 @@ msgstr "برای هر ورودی در جدول، یک :term:`توصیفگر <
534
534
msgid"An interesting advantage of using the :c:member:`~PyTypeObject.tp_members` table to build descriptors that are used at runtime is that any attribute defined this way can have an associated doc string simply by providing the text in the table. An application can use the introspection API to retrieve the descriptor from the class object, and get the doc string using its :attr:`~type.__doc__` attribute."
535
535
msgstr"مزیت جالب استفاده از جدول :c:member:`~PyTypeObject.tp_members` برای ساخت توصیفگرهایی که در رانتایم استفاده میشوند این است که هر ویژگی که به این روش تعریف شود، میتواند صرفاً با ارائهی متن در جدول، یک رشته مستند مرتبط داشته باشد. یک برنامه میتواند از API دروننگری برای بازیابی توصیفگر از شیء کلاس استفاده کند و رشته مستند را با استفاده از ویژگی :attr:`~type.__doc__` آن به دست آورد."
536
536
537
-
msgid"As with the :c:member:`~PyTypeObject.tp_methods` table, a sentinel entry with a :c:member:`~PyMethodDef.ml_name` value of ``NULL`` is required."
537
+
#,fuzzy
538
+
#| msgid "As with the :c:member:`~PyTypeObject.tp_methods` table, a sentinel entry with a :c:member:`~PyMethodDef.ml_name` value of ``NULL`` is required."
539
+
msgid"As with the :c:member:`~PyTypeObject.tp_methods` table, a sentinel entry with a :c:member:`~PyMemberDef.name` value of ``NULL`` is required."
538
540
msgstr"مانند جدول :c:member:`~PyTypeObject.tp_methods`، یک ورودی نشانگر که مقدار :c:member:`~PyMethodDef.ml_name` آن ``NULL`` است، لازم است."
0 commit comments