This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"CPython exposes its version number in the following macros. Note that these "
"correspond to the version code is **built** with. See :c:var:`Py_Version` "
"for the version used at **run time**."
msgstr ""
"CPython شمارهی نسخهی خود را در ماکروهای زیر در معرض دید قرار میدهد. توجه داشته باشید که اینها "
"مربوط به نسخهای هستند که کد با آن **ساخته (build)** شده است. برای نسخهای که در **زمان اجرا (run time)** استفاده میشود، به :c:var:`Py_Version` مراجعه کنید."
#: ../../c-api/apiabiversion.rst:17
msgid ""
"See :ref:`stable` for a discussion of API and ABI stability across versions."
msgstr ""
"برای بحث دربارهی پایداری API و ABI در میان نسخهها، به :ref:`stable` مراجعه کنید."
#: ../../c-api/apiabiversion.rst:21
msgid "The ``3`` in ``3.4.1a2``."
msgstr ""
msgstr "3 در ``3.4.1a2``."
#: ../../c-api/apiabiversion.rst:25
msgid "The ``4`` in ``3.4.1a2``."
msgstr ""
msgstr "4 در ``3.4.1a2``."
#: ../../c-api/apiabiversion.rst:29
msgid "The ``1`` in ``3.4.1a2``."
msgstr ""
msgstr "1 در ``3.4.1a2``."
#: ../../c-api/apiabiversion.rst:33
msgid ""
"The ``a`` in ``3.4.1a2``. This can be ``0xA`` for alpha, ``0xB`` for beta, "
"``0xC`` for release candidate or ``0xF`` for final."
msgstr ""
"``a`` در ``3.4.1a2``. این میتواند ``0xA`` برای آلفا باشد، ``0xB`` برای بتا، "
"``0xC`` برای کاندیدای انتشار (release candidate) یا ``0xF`` برای نهایی (final)."
#: ../../c-api/apiabiversion.rst:39
msgid "The ``2`` in ``3.4.1a2``. Zero for final releases."
msgstr ""
msgstr "``2`` در ``3.4.1a2``. برای انتشارهای نهایی، صفر است."
#: ../../c-api/apiabiversion.rst:43
msgid ""
"The Python version number encoded in a single integer. "
"See :c:func:`Py_PACK_FULL_VERSION` for the encoding details."
msgstr ""
"شمارهی نسخهی پایتون که در یک عدد صحیح کدگذاری شده است. "
"برای جزئیات کدگذاری، به :c:func:`Py_PACK_FULL_VERSION` مراجعه کنید."
#: ../../c-api/apiabiversion.rst:46
msgid ""
"Use this for numeric comparisons, for example, ``#if PY_VERSION_HEX >= ...``."
msgstr ""
"از این (مقدار) برای مقایسههای عددی استفاده کنید، برای مثال، ``#if PY_VERSION_HEX >= ...``."
#: ../../c-api/apiabiversion.rst:49
msgid "These macros are defined in :source:`Include/patchlevel.h`."
msgstr ""
msgstr "این ماکروها در :source:`Include/patchlevel.h` تعریف میشوند."
#: ../../c-api/apiabiversion.rst:53
msgid "Run-time version"
msgstr ""
msgstr "نسخهی زمان اجرا"
#: ../../c-api/apiabiversion.rst:57
msgid ""
"The Python runtime version number encoded in a single constant integer. "
"See :c:func:`Py_PACK_FULL_VERSION` for the encoding details. This contains "
"the Python version used at run time."
msgstr ""
"شمارهی نسخهی زمان اجرای پایتون که در یک عدد صحیح ثابت کدگذاری شده است. "
"برای جزئیات کدگذاری، به :c:func:`Py_PACK_FULL_VERSION` مراجعه کنید. این (مقدار) شامل "
"نسخهی پایتون است که در زمان اجرا استفاده میشود."
#: ../../c-api/apiabiversion.rst:61
msgid ""
"Use this for numeric comparisons, for example, ``if (Py_Version >= ...)``."
msgstr ""
"از این (مقدار) برای مقایسههای عددی استفاده کنید، برای مثال، ``if (Py_Version >= ...)``."
#: ../../c-api/apiabiversion.rst:67
msgid "Bit-packing macros"
msgstr ""
msgstr "ماکروهای بستهبندی بیتی"
#: ../../c-api/apiabiversion.rst:71
msgid ""
"Return the given version, encoded as a single 32-bit integer with the "
"following structure:"
msgstr ""
"نسخهی دادهشده را که به صورت یک عدد صحیح ۳۲-بیتی با "
"Out-of range bits in the arguments are ignored. That is, the macro can be "
"defined as:"
msgstr ""
"بیتهای خارج از محدوده در آرگومانها نادیده گرفته میشوند. به عبارت دیگر، این ماکرو را میتوان "
"به صورت زیر تعریف کرد:"
#: ../../c-api/apiabiversion.rst:103
msgid ""
Expand All
@@ -282,16 +298,29 @@ msgid ""
" (((SERIAL) & 0xf) << 0))\n"
"#endif"
msgstr ""
"#ifndef Py_PACK_FULL_VERSION\n"
"#define Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \\\n"
" (((X) & 0xff) << 24) | \\\n"
" (((Y) & 0xff) << 16) | \\\n"
" (((Z) & 0xff) << 8) | \\\n"
" (((LEVEL) & 0xf) << 4) | \\\n"
" (((SERIAL) & 0xf) << 0))\n"
"#endif"
#: ../../c-api/apiabiversion.rst:114
msgid ""
"``Py_PACK_FULL_VERSION`` is primarily a macro, intended for use in ``#if`` "
"directives, but it is also available as an exported function."
msgstr ""
"``Py_PACK_FULL_VERSION`` در درجهی اول یک ماکرو است که برای استفاده در دستورات "
"``#if`` در نظر گرفته شده است، اما بهعنوان یک تابع صادرشده نیز در دسترس است."
#: ../../c-api/apiabiversion.rst:121
msgid ""
"Equivalent to ``Py_PACK_FULL_VERSION(major, minor, 0, 0, 0)``. The result "
"does not correspond to any Python release, but is useful in numeric "
"comparisons."
msgstr ""
"معادل ``Py_PACK_FULL_VERSION(major, minor, 0, 0, 0)`` است. نتیجه "
"با هیچ نسخهی انتشار یافتهای از پایتون مطابقت ندارد، اما در مقایسههای عددی "
"مفید است."
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Translation space #26
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Translation space #26
Filter by extension
Viewed files
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing