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 15e1a07
Browse filesBrowse the repository at this point in the historyBrowse files
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -269,8 +269,14 @@ msgstr "بر روی شیء نگاشت *b* پیمایش میکند و جفت
269
269
msgid"In the :term:`free-threaded build`, when *b* is a :class:`dict` (with the standard iterator), both *a* and *b* are locked for the duration of the operation. When *b* is a non-dict mapping, only *a* is locked; *b* may be concurrently modified by another thread."
270
270
msgstr"در :term:`free-threaded build`، وقتی *b* یک :class:`dict` (با پیمایشگر استاندارد) باشد، هر دو *a* و *b* در طول عملیات قفل میشوند. وقتی *b* یک نگاشت غیردیکشنری باشد، فقط *a* قفل میشود؛ *b* ممکن است توسط نخ دیگری بهطور همزمان تغییر یابد."
271
271
272
-
msgid"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a.update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back to the iterating over a sequence of key value pairs if the second argument has no \"keys\" attribute. Return ``0`` on success or ``-1`` if an exception was raised."
273
-
msgstr"این همان ``PyDict_Merge(a, b, 1)`` در C است و مشابه ``a.update(b)`` در پایتون است، با این تفاوت که :c:func:`PyDict_Update` در صورتی که آرگومان دوم ویژگی «keys» نداشته باشد، به پیمایش دنبالهای از جفتهای کلید-مقدار بازنمیگردد. در صورت موفقیت ``0`` و در صورت بروز استثنا ``-1`` را برمیگرداند."
272
+
msgid"This is the same as ``PyDict_Merge(a, b, 1)`` in C."
273
+
msgstr""
274
+
275
+
msgid"Similar to ``a.update(b)`` in Python, except that this function does not fall back to the iterating over a sequence of key-value pairs if *b* is not a mapping. Use :c:func:`PyDict_MergeFromSeq2` for this case."
276
+
msgstr""
277
+
278
+
msgid"Return ``0`` on success or ``-1`` if an exception was raised."
279
+
msgstr""
274
280
275
281
msgid"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. *seq2* must be an iterable object producing iterable objects of length 2, viewed as key-value pairs. In case of duplicate keys, the last wins if *override* is true, else the first wins. Return ``0`` on success or ``-1`` if an exception was raised. Equivalent Python (except for the return value)::"
276
282
msgstr"بهروزرسانی یا ادغام در دیکشنری *a*، از جفتهای کلید-مقدار در *seq2*. *seq2* باید یک شیء پیمایشپذیر باشد که اشیاء پیمایشپذیر با طول ۲ تولید میکند که بهعنوان جفتهای کلید-مقدار در نظر گرفته میشوند. در صورت وجود کلیدهای تکراری، اگر *override* درست باشد آخری برنده میشود، در غیر این صورت اولی برنده میشود. در صورت موفقیت ``0`` و در صورت پرتاب استثنا ``-1`` برمیگرداند. معادل پایتونی (بهجز مقدار بازگشتی)::"
@@ -462,3 +468,6 @@ msgstr "تابع توکار"
462
468
463
469
msgid"len"
464
470
msgstr"len"
471
+
472
+
#~ msgid "This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a.update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back to the iterating over a sequence of key value pairs if the second argument has no \"keys\" attribute. Return ``0`` on success or ``-1`` if an exception was raised."
473
+
#~ msgstr "این همان ``PyDict_Merge(a, b, 1)`` در C است و مشابه ``a.update(b)`` در پایتون است، با این تفاوت که :c:func:`PyDict_Update` در صورتی که آرگومان دوم ویژگی «keys» نداشته باشد، به پیمایش دنبالهای از جفتهای کلید-مقدار بازنمیگردد. در صورت موفقیت ``0`` و در صورت بروز استثنا ``-1`` را برمیگرداند."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -407,9 +407,14 @@ msgstr "کد بدون عمل. توسط بهینهساز بایتکد به
407
407
msgid"Do nothing code. Used by the interpreter to record :monitoring-event:`BRANCH_LEFT` and :monitoring-event:`BRANCH_RIGHT` events for :mod:`sys.monitoring`."
408
408
msgstr"کد بدون عمل. توسط مفسر برای ثبت رویدادهای :monitoring-event:`BRANCH_LEFT` و :monitoring-event:`BRANCH_RIGHT` برای :mod:`sys.monitoring` استفاده میشود."
409
409
410
-
msgid"Removes the iterator from the top of the stack."
410
+
#,fuzzy
411
+
#| msgid "Removes the iterator from the top of the stack."
412
+
msgid"Removes the iterator and the value pushed with it by :opcode:`GET_ITER` from the top of the stack."
411
413
msgstr"پیمایشگر را از بالای پشته حذف میکند."
412
414
415
+
msgid"Two values are now removed."
416
+
msgstr""
417
+
413
418
msgid"Removes the top-of-stack item::"
414
419
msgstr"آیتم بالای پشته را حذف میکند::"
415
420
@@ -419,9 +424,14 @@ msgstr "STACK.pop()"
419
424
msgid"Removes the top-of-stack item. Equivalent to ``POP_TOP``. Used to clean up at the end of loops, hence the name."
420
425
msgstr"آیتم بالای پشته را حذف میکند. معادل ``POP_TOP`` است. برای پاکسازی در پایان حلقهها استفاده میشود، به همین دلیل این نام را دارد."
421
426
422
-
msgid"Implements ``del STACK[-2]``. Used to clean up when a generator exits."
427
+
#,fuzzy
428
+
#| msgid "Implements ``del STACK[-2]``. Used to clean up when a generator exits."
429
+
msgid"Implements ``del STACK[-3:-1]``. Used to clean up when a generator exits."
423
430
msgstr"``del STACK[-2]`` را پیادهسازی میکند. برای پاکسازی هنگام خروج یک تولیدگر استفاده میشود."
424
431
432
+
msgid"The receiver and the value pushed with it by :opcode:`GET_ITER` are removed, instead of only the receiver."
433
+
msgstr""
434
+
425
435
msgid"Push the i-th item to the top of the stack without removing it from its original location::"
426
436
msgstr"آیتم iاُم را بدون حذف آن از محل اصلیاش، در بالای پشته قرار میدهد::"
427
437
@@ -465,11 +475,17 @@ msgstr "این دستور اکنون به عملوندی دقیقاً از نو
465
475
msgid"Implements ``STACK[-1] = ~STACK[-1]``."
466
476
msgstr"``STACK[-1] = ~STACK[-1]`` را پیادهسازی میکند."
msgstr"``STACK[-1] = iter(STACK[-1])`` را پیادهسازی میکند."
478
+
msgid"Replaces ``STACK[-1]`` with an iterator for it and pushes a second value, which is used by :opcode:`FOR_ITER`, :opcode:`SEND` and :opcode:`POP_ITER`."
479
+
msgstr""
470
480
471
-
msgid"If ``STACK[-1]`` is a :term:`generator iterator` or :term:`coroutine` object it is left as is. Otherwise, implements ``STACK[-1] = iter(STACK[-1])``."
472
-
msgstr"اگر ``STACK[-1]`` یک شیء :term:`generator iterator` یا :term:`همروال <coroutine>` باشد، به همان صورت باقی میماند. در غیر این صورت، ``STACK[-1] = iter(STACK[-1])`` را پیادهسازی میکند."
481
+
msgid"For some built-in sequence types, such as :class:`list` and :class:`tuple`, the object itself is left on the stack as a \"virtual iterator\" and the index to start iterating from is pushed. Otherwise, implements ``STACK[-1] = iter(STACK[-1])`` and pushes ``NULL``."
482
+
msgstr""
483
+
484
+
msgid"If *yield_from* is non-zero, the instruction is used for ``yield from``: a :term:`coroutine` object is left as is, unless the current code is a regular generator, in which case :exc:`TypeError` is raised."
485
+
msgstr""
486
+
487
+
msgid"A second value is now pushed after the iterator. The *yield_from* argument was added, replacing the ``GET_YIELD_FROM_ITER`` instruction."
msgstr"``STACK[-1] = bool(STACK[-1])`` را پیادهسازی میکند."
@@ -947,12 +963,17 @@ msgstr "اگر ``STACK[-1]`` برابر ``None`` نباشد، شمارنده ب
947
963
msgid"If ``STACK[-1]`` is ``None``, increments the bytecode counter by *delta*. ``STACK[-1]`` is popped."
948
964
msgstr"اگر ``STACK[-1]`` برابر ``None`` باشد، شمارنده بایتکد را به اندازه *delta* افزایش میدهد. ``STACK[-1]`` برداشته میشود."
949
965
950
-
msgid"``STACK[-1]`` is an :term:`iterator`. Call its :meth:`~iterator.__next__` method. If this yields a new value, push it on the stack (leaving the iterator below it). If the iterator indicates it is :term:`exhausted` then the byte code counter is incremented by *delta*."
966
+
#,fuzzy
967
+
#| msgid "``STACK[-1]`` is an :term:`iterator`. Call its :meth:`~iterator.__next__` method. If this yields a new value, push it on the stack (leaving the iterator below it). If the iterator indicates it is :term:`exhausted` then the byte code counter is incremented by *delta*."
968
+
msgid"``STACK[-2]`` is an :term:`iterator` (or a virtual iterator, see :opcode:`GET_ITER`) and ``STACK[-1]`` is the value pushed with it by :opcode:`GET_ITER`. Get the next item, calling the iterator's :meth:`~iterator.__next__` method if needed. If this yields a new value, push it on the stack (leaving the iterator below it). If the iterator indicates it is :term:`exhausted` then the byte code counter is incremented by *delta*."
951
969
msgstr"``STACK[-1]`` یک :term:`پیمایشگر <iterator>` است. متد :meth:`~iterator.__next__` آن را فراخوانی کنید. اگر این یک مقدار جدید تولید کرد، آن را در پشته قرار دهید (و پیمایشگر زیر آن باقی میماند). اگر پیمایشگر نشان دهد که :term:`اتمامیافته <exhausted>` شده است، شمارنده بایتکد به اندازه *delta* افزایش مییابد."
952
970
953
971
msgid"Up until 3.11 the iterator was popped when it was exhausted."
954
972
msgstr"تا پیش از 3.11، پیمایشگر هنگامی که به پایان میرسید، از پشته برداشته میشد."
955
973
974
+
msgid"The iterator is now followed on the stack by the value pushed with it by :opcode:`GET_ITER`."
975
+
msgstr""
976
+
956
977
msgid"Loads the global named ``co_names[namei>>1]`` onto the stack. If the low bit of ``namei`` is set, a ``NULL`` is pushed onto the stack after the global variable."
957
978
msgstr"متغیر سراسری نامگذاریشدهی ``co_names[namei>>1]`` را روی پشته بارگذاری میکند. اگر بیت کمارزش ``namei`` تنظیم شده باشد، یک ``NULL`` پس از متغیر سراسری روی پشته قرار میگیرد."
958
979
@@ -1221,12 +1242,15 @@ msgstr "مقدار oparg تغییر کرد تا شامل اطلاعاتی درب
1221
1242
msgid"Create a generator, coroutine, or async generator from the current frame. Used as first opcode of in code object for the above mentioned callables. Clear the current frame and return the newly created generator."
1222
1243
msgstr"یک تولیدگر، همروال یا تولیدگر ناهمگام از فریم جاری ایجاد میکند. بهعنوان نخستین کد عملیات (opcode) در شیء کد برای موارد فراخوانیپذیر ذکرشده در بالا استفاده میشود. فریم جاری را پاک میکند و تولیدگر تازهساخته را برمیگرداند."
1223
1244
1224
-
msgid"Equivalent to ``STACK[-1] = STACK[-2].send(STACK[-1])``. Used in ``yield from`` and ``await`` statements."
1225
-
msgstr"معادل ``STACK[-1] = STACK[-2].send(STACK[-1])`` است. در دستورات ``yield from`` و ``await`` استفاده میشود."
1245
+
msgid"Equivalent to ``STACK[-1] = STACK[-3].send(STACK[-1])``. Used in ``yield from`` and ``await`` statements. ``STACK[-2]`` is the value pushed with the receiver by :opcode:`GET_ITER`; if the receiver is a virtual iterator, it is advanced as by :opcode:`FOR_ITER`."
1246
+
msgstr""
1226
1247
1227
1248
msgid"If the call raises :exc:`StopIteration`, pop the top value from the stack, push the exception's ``value`` attribute, and increment the bytecode counter by *delta*."
1228
1249
msgstr"اگر فراخوانی :exc:`StopIteration` را پرتاب کند، مقدار سر پشته را بردارید، ویژگی ``value`` استثنا را بر پشته بگذارید و شمارنده بایتکد را به اندازهی *delta* افزایش دهید."
1229
1250
1251
+
msgid"The receiver is now at ``STACK[-3]``, followed by the value pushed with it by :opcode:`GET_ITER`."
1252
+
msgstr""
1253
+
1230
1254
msgid"This is not really an opcode. It identifies the dividing line between opcodes in the range [0,255] which don't use their argument and those that do (``< HAVE_ARGUMENT`` and ``>= HAVE_ARGUMENT``, respectively)."
1231
1255
msgstr"این واقعاً یک آپکد (opcode) نیست. این خط جداکنندهی میان آپکدها در بازهی [۰،۲۵۵] را مشخص میکند: میان کدهایی که از آرگومان خود استفاده نمیکنند و کدهایی که استفاده میکنند (بهترتیب ``< HAVE_ARGUMENT`` و ``>= HAVE_ARGUMENT``)."
#~ msgstr "``STACK[-1] = iter(STACK[-1])`` را پیادهسازی میکند."
1495
+
1496
+
#~ msgid "If ``STACK[-1]`` is a :term:`generator iterator` or :term:`coroutine` object it is left as is. Otherwise, implements ``STACK[-1] = iter(STACK[-1])``."
1497
+
#~ msgstr "اگر ``STACK[-1]`` یک شیء :term:`generator iterator` یا :term:`همروال <coroutine>` باشد، به همان صورت باقی میماند. در غیر این صورت، ``STACK[-1] = iter(STACK[-1])`` را پیادهسازی میکند."
1498
+
1499
+
#~ msgid "Equivalent to ``STACK[-1] = STACK[-2].send(STACK[-1])``. Used in ``yield from`` and ``await`` statements."
1500
+
#~ msgstr "معادل ``STACK[-1] = STACK[-2].send(STACK[-1])`` است. در دستورات ``yield from`` و ``await`` استفاده میشود."
1501
+
1469
1502
#~ msgid "Loads the global named ``co_names[namei>>1]`` onto the stack."
1470
1503
#~ msgstr "متغیر سراسری با نام ``co_names[namei>>1]`` را بر روی پشته بارگذاری میکند."
msgid ":gh:`161968`: Fix ``x *= seq`` raising :exc:`TypeError` when ``x`` is an instance of an :class:`int` subclass or of a class defining :meth:`~object.__index__`."
75
+
msgstr ""
76
+
74
77
msgid ":gh:`161827`: Keep ``_PyEval_EvalFrameDefault`` as a separate frame in the C call stack when Python is built with the tail-calling interpreter (:option:`--with-tail-call-interp`), so that stack unwinders, profilers and other tools that walk the stack can find the interpreter loop."
75
78
msgstr ""
76
79
@@ -156,6 +159,9 @@ msgstr "کتابخانه"
156
159
msgid ":gh:`152845`: Fix :mod:`zipfile` dropping the UTF-8 (EFS) flag for existing entries when rewriting an archive in append mode, and honor an explicitly set flag on new entries. Patch by Kasra Ghodsi."
157
160
msgstr ""
158
161
162
+
msgid ":gh:`135893`: Fix a regression where importing :mod:`ctypes` could leave an extra file descriptor open on some Linux systems, or hang in x86-64 macOS applications signed with the hardened runtime."
163
+
msgstr ""
164
+
159
165
msgid ":gh:`161712`: Fix :meth:`threading.Thread.join` with a timeout blocking forever when the deadline passed between the two reads of the clock used to compute the time left."
160
166
msgstr ""
161
167
@@ -354,9 +360,6 @@ msgstr ""
354
360
msgid ":gh:`159168`: Fix :exc:`RecursionError` in ``python -m asyncio pstree`` on a deep chain of awaiting tasks. Patch by Timofei Ivankov."
355
361
msgstr ":gh:`159620`: رفع دستورات ``python -m asyncio ps``، ``pstree`` و پشتههای :mod:`profiling.sampling` آگاه از ناهمگامی که در تولیدگرهای ناهمگام متوقف میشوند. پچ توسط Timofei Ivankov."
356
362
357
-
msgid ":gh:`88037`: :func:`urllib.parse.urlsplit` and :func:`urllib.parse.urlparse` now raise :exc:`ValueError` for an invalid port when the URL is parsed, instead of when the :attr:`!port` attribute is read. Patch by Miguel Brito and Senthil Kumaran."
358
-
msgstr ""
359
-
360
363
#, fuzzy
361
364
#| msgid ":issue:`18108`: :func:`shutil.chown` now supports *dir_fd* and *follow_symlinks* keyword arguments."
362
365
msgid ":gh:`158998`: Fix :func:`os.statx` ignoring the *follow_symlinks* argument."
@@ -365,6 +368,9 @@ msgstr ":issue:`18108`: تابع :func:`shutil.chown` اکنون از آرگوم
365
368
msgid ":gh:`155233`: Fix :meth:`asyncio.Barrier.wait` returning duplicate indices when a waiting task is cancelled before the barrier is released.```"
366
369
msgstr ""
367
370
371
+
msgid ":gh:`158166`: Fix the type of the ``msg`` attribute of :exc:`xml.etree.ElementTree.ParseError` in the pure Python implementation: it is now a string, as in the C implementation."
372
+
msgstr ""
373
+
368
374
#, fuzzy
369
375
#| msgid ":gh:`120244`: Fix memory leak in :func:`re.sub` when the replacement string contains backreferences."
370
376
msgid ":gh:`158095`: Fix a memory leak in :func:`re.finditer` and regular expression scanners when their input participates in a reference cycle."
0 commit comments