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 6001356
Browse filesBrowse the repository at this point in the historyBrowse files
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -32,6 +32,9 @@ msgstr "چند تابع وجود دارند که مختص توابع پایتو
32
32
msgid"The C structure used for functions."
33
33
msgstr"ساختار C استفادهشده برای توابع."
34
34
35
+
msgid"In the free-threaded build, direct access to mutable fields requires synchronization if another thread may modify the function. See :ref:`freethreading-extensions-howto`."
36
+
msgstr""
37
+
35
38
msgid"This is an instance of :c:type:`PyTypeObject` and represents the Python function type. It is exposed to Python programmers as ``types.FunctionType``."
36
39
msgstr"این نمونهای از :c:type:`PyTypeObject` است و نوع تابع پایتون را نمایندگی میکند. این نوع به برنامهنویسان پایتون به صورت ``types.FunctionType`` در دسترس قرار گرفته است."
msgid"This is normally a :class:`string <str>` containing the module name, but can be set to any other object by Python code."
60
63
msgstr"این بهطور معمول یک :class:`رشته <str>` حاوی نام ماژول است، اما میتواند توسط کد پایتون به هر شیء دیگری تنظیم شود."
61
64
65
+
msgid"In the free-threaded build, if the attribute may be modified concurrently, convert the borrowed reference to a strong reference with :c:func:`Py_XNewRef` immediately, before calling any other Python API. The same applies to :c:func:`PyFunction_GET_MODULE`."
66
+
msgstr""
67
+
62
68
msgid"Return the argument default values of the function object *op*. This can be a tuple of arguments or ``NULL``."
63
69
msgstr"مقادیر پیشفرض آرگومانهای شیء تابع *op* را برمیگرداند. این میتواند یک تاپل از آرگومانها یا ``NULL`` باشد."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -72,5 +72,8 @@ msgstr "یک دیکشنری از متغیرهای سراسری در فریم ا
72
72
msgid"Return the name of *func* if it is a function, class or instance object, else the name of *func*\\s type."
73
73
msgstr"اگر *func* یک تابع، کلاس یا شیء نمونه باشد، نام *func* و در غیر این صورت نام نوع *func* را برمیگرداند."
74
74
75
+
msgid"For a Python function or method, the returned pointer refers to the function's name and must not be retained across operations that may change that name. In the free-threaded build, copy the string before detaching the thread state or executing Python code if the name may be modified concurrently."
76
+
msgstr""
77
+
75
78
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*."
76
79
msgstr"بسته به نوع *func*، یک رشتهی توصیفی برمیگرداند. مقادیر بازگشتی شامل \"()\" برای توابع و متدها، \" constructor\"، \" instance\" و \" object\" است. اگر با نتیجهی :c:func:`PyEval_GetFuncName` الحاق شود، نتیجه، توصیفی از *func* خواهد بود."
msgid"The :ref:`asyncio-event-loop-methods` section lists all methods that an alternative implementation of ``AbstractEventLoop`` should have defined."
1405
1405
msgstr"بخش :ref:`asyncio-event-loop-methods` همهی متدهایی را که یک پیادهسازی جایگزین از ``AbstractEventLoop`` باید تعریف کرده باشد، فهرست میکند."
1406
1406
1407
+
msgid"A base class that partially implements :class:`AbstractEventLoop` to simplify writing custom event loops."
1408
+
msgstr""
1409
+
1410
+
msgid"It provides default implementations of many :class:`AbstractEventLoop` methods, so subclasses have fewer methods to implement themselves. In return, a subclass is expected to implement a number of internal, protected methods. See :ref:`writing_custom_event_loop` for more information."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -28,13 +28,19 @@ msgstr "گسترش"
28
28
msgid"The main direction for :mod:`asyncio` extending is writing custom *event loop* classes. Asyncio has helpers that could be used to simplify this task."
29
29
msgstr"جهت اصلی گسترش :mod:`asyncio`، نوشتن کلاسهای سفارشی *حلقه رویداد* است. Asyncio ابزارهای کمکی دارد که میتوان از آنها برای سادهسازی این کار استفاده کرد."
30
30
31
-
msgid"Third-parties should reuse existing asyncio code with caution, a new Python version is free to break backward compatibility in *internal* part of API."
31
+
#,fuzzy
32
+
#| msgid "Third-parties should reuse existing asyncio code with caution, a new Python version is free to break backward compatibility in *internal* part of API."
33
+
msgid"Third-parties should reuse existing asyncio code with caution, a new Python version is free to break backward compatibility in the *internal* part of the API."
32
34
msgstr"اشخاص ثالث باید با احتیاط از کد asyncio موجود دوباره استفاده کنند؛ یک نسخه جدید پایتون مجاز است سازگاری عقبگرد را در بخش *داخلی* API نقض کند."
33
35
34
-
msgid"Writing a Custom Event Loop"
36
+
#,fuzzy
37
+
#| msgid "Writing a Custom Event Loop"
38
+
msgid"Writing a custom event loop"
35
39
msgstr"نوشتن یک حلقه رویداد سفارشی"
36
40
37
-
msgid":class:`asyncio.AbstractEventLoop` declares very many methods. Implementing all them from scratch is a tedious job."
41
+
#,fuzzy
42
+
#| msgid ":class:`asyncio.AbstractEventLoop` declares very many methods. Implementing all them from scratch is a tedious job."
43
+
msgid":class:`asyncio.AbstractEventLoop` declares very many methods. See :ref:`asyncio-event-loop-methods` for the full list. Implementing them all from scratch is a tedious job."
38
44
msgstr":class:`asyncio.AbstractEventLoop` تعداد بسیار زیادی متد را اعلام میکند. پیادهسازی همهی آنها از ابتدا کار خستهکنندهای است."
39
45
40
46
msgid"A loop can get many common methods implementation for free by inheriting from :class:`asyncio.BaseEventLoop`."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -265,7 +265,9 @@ msgstr "گاهشماری یک ماه را همانطور که توسط :fu
265
265
msgid"Returns a month's calendar in a multi-line string using the :meth:`~TextCalendar.formatmonth` of the :class:`TextCalendar` class."
266
266
msgstr"گاهشماری یک ماه را بهصورت یک رشتهی چندخطی با استفاده از :meth:`~TextCalendar.formatmonth` از کلاس :class:`TextCalendar` برمیگرداند."
267
267
268
-
msgid"Prints the calendar for an entire year as returned by :func:`calendar`."
268
+
#,fuzzy
269
+
#| msgid "Prints the calendar for an entire year as returned by :func:`calendar`."
270
+
msgid"Prints the calendar for an entire year as returned by :func:`~calendar.calendar`."
269
271
msgstr"گاهشماری یک سال کامل را بههمانصورتی که :func:`calendar` برمیگرداند، چاپ میکند."
270
272
271
273
msgid"Returns a 3-column calendar for an entire year as a multi-line string using the :meth:`~TextCalendar.formatyear` of the :class:`TextCalendar` class."
msgid"Return :class:`.time` object with same hour, minute, second, microsecond, fold, and tzinfo attributes. See also method :meth:`time`."
1311
1311
msgstr"یک شیء :class:`.time` با همان ویژگیهای hour، minute، second، microsecond، fold و tzinfo را برمیگرداند. همچنین متد :meth:`time` را ببینید."
1312
1312
1313
-
msgid"Return a new :class:`datetime` object with the same attributes, but with specified parameters updated. Note that ``tzinfo=None`` can be specified to create a naive datetime from an aware datetime with no conversion of date and time data."
1313
+
#,fuzzy
1314
+
#| msgid "Return a new :class:`datetime` object with the same attributes, but with specified parameters updated. Note that ``tzinfo=None`` can be specified to create a naive datetime from an aware datetime with no conversion of date and time data."
1315
+
msgid"Return a new :class:`~datetime.datetime` object with the same attributes, but with specified parameters updated. Note that ``tzinfo=None`` can be specified to create a naive datetime from an aware datetime with no conversion of date and time data."
1314
1316
msgstr"یک شیء :class:`datetime` جدید با همان ویژگیها برمیگرداند، اما پارامترهای مشخصشده در آن بهروزرسانی شدهاند. توجه داشته باشید که میتوان ``tzinfo=None`` را مشخص کرد تا بدون هیچگونه تبدیل دادههای تاریخ و زمان، یک datetime ساده از یک datetime آگاه ایجاد شود."
1315
1317
1316
1318
msgid":class:`.datetime` objects are also supported by generic function :func:`copy.replace`."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -282,7 +282,9 @@ msgstr "یک پیمایشگر بر روی دستورالعملهای مو
282
282
msgid"The iterator generates a series of :class:`Instruction` named tuples giving the details of each operation in the supplied code."
283
283
msgstr"این پیمایشگر دنبالهای از تاپلهای نامدار (named tuple) از نوع :class:`Instruction` تولید میکند که جزئیات هر عملیات در کد ارائهشده را نشان میدهد."
284
284
285
-
msgid"The *adaptive* parameter works as it does in :func:`dis`."
285
+
#,fuzzy
286
+
#| msgid "The *adaptive* parameter works as it does in :func:`dis`."
287
+
msgid"The *adaptive* parameter works as it does in :func:`~dis.dis`."
286
288
msgstr"پارامتر *adaptive* همان رفتاری را دارد که در :func:`dis` دارد."
287
289
288
290
msgid"The *show_caches* parameter is deprecated and has no effect. The iterator generates the :class:`Instruction` instances with the *cache_info* field populated (regardless of the value of *show_caches*) and it no longer generates separate items for the cache entries."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -72,7 +72,9 @@ msgstr "توجه داشته باشید که جداکننده نام پرونده
72
72
msgid"Unless stated otherwise, \"filename string\" and \"pattern string\" either refer to :class:`str` or ``ISO-8859-1`` encoded :class:`bytes` objects. Note that the functions documented below do not allow to mix a :class:`!bytes` pattern with a :class:`!str` filename, and vice-versa."
73
73
msgstr"مگر آنکه خلاف آن ذکر شده باشد، «رشتهی نام پرونده» و «رشتهی الگو» هر یک به اشیای :class:`str` یا اشیای :class:`bytes` کدگذاریشده با ``ISO-8859-1`` اشاره دارند. توجه داشته باشید که توابع مستندشده در زیر اجازه نمیدهند یک الگوی :class:`!bytes` را با یک نام پرونده :class:`!str` ترکیب کنید، و برعکس."
74
74
75
-
msgid"Finally, note that :deco:`functools.lru_cache` with a *maxsize* of 32768 is used to cache the (typed) compiled regex patterns in the following functions: :func:`fnmatch`, :func:`fnmatchcase`, :func:`.filter`, :func:`.filterfalse`."
75
+
#,fuzzy
76
+
#| msgid "Finally, note that :deco:`functools.lru_cache` with a *maxsize* of 32768 is used to cache the (typed) compiled regex patterns in the following functions: :func:`fnmatch`, :func:`fnmatchcase`, :func:`.filter`, :func:`.filterfalse`."
77
+
msgid"Finally, note that :deco:`functools.lru_cache` with a *maxsize* of 32768 is used to cache the (typed) compiled regex patterns in the following functions: :func:`~fnmatch.fnmatch`, :func:`fnmatchcase`, :func:`.filter`, :func:`.filterfalse`."
76
78
msgstr"در نهایت، توجه داشته باشید که :deco:`functools.lru_cache` با *maxsize* برابر ۳۲۷۶۸ برای نهانگاهسازی الگوهای regex کامپایلشده (تایپشده) در توابع زیر استفاده میشود: :func:`fnmatch`، :func:`fnmatchcase`، :func:`.filter`، :func:`.filterfalse`."
77
79
78
80
msgid"Test whether the filename string *name* matches the pattern string *pat*, returning ``True`` or ``False``. Both parameters are case-normalized using :func:`os.path.normcase`. :func:`fnmatchcase` can be used to perform a case-sensitive comparison, regardless of whether that's standard for the operating system."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -58,7 +58,9 @@ msgstr "مقدار بازگشتی از دو عنصر تشکیل شده است:
58
58
msgid"Optional arguments are supported."
59
59
msgstr"از آرگومانهای اختیاری پشتیبانی میشود."
60
60
61
-
msgid"This function works like :func:`getopt`, except that GNU style scanning mode is used by default. This means that option and non-option arguments may be intermixed. The :func:`getopt` function stops processing options as soon as a non-option argument is encountered."
61
+
#,fuzzy
62
+
#| msgid "This function works like :func:`getopt`, except that GNU style scanning mode is used by default. This means that option and non-option arguments may be intermixed. The :func:`getopt` function stops processing options as soon as a non-option argument is encountered."
63
+
msgid"This function works like :func:`~getopt.getopt`, except that GNU style scanning mode is used by default. This means that option and non-option arguments may be intermixed. The :func:`~getopt.getopt` function stops processing options as soon as a non-option argument is encountered."
62
64
msgstr"این تابع مانند :func:`getopt` عمل میکند، با این تفاوت که حالت پویش بهسبک GNU بهطور پیشفرض استفاده میشود. این بدان معناست که آرگومانهای گزینهای و غیرگزینهای میتوانند بهصورت درهم قرار گیرند. تابع :func:`getopt` به محض مواجهه با یک آرگومان غیرگزینهای، پردازش گزینهها را متوقف میکند."
63
65
64
66
msgid"If the first character of the option string is ``'+'``, or if the environment variable :envvar:`!POSIXLY_CORRECT` is set, then option processing stops as soon as a non-option argument is encountered."
0 commit comments