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
msgid":meth:`set.update`, :meth:`set.union`, :meth:`set.intersection` and :meth:`set.difference` can take multiple iterables as arguments. They all iterate through all the passed iterables and do the following:"
417
417
msgstr":meth:`set.update`، :meth:`set.union`، :meth:`set.intersection` و :meth:`set.difference` میتوانند چندین پیمایشپذیر را بهعنوان آرگومان بگیرند. همهی آنها تمام پیمایشپذیرهای دادهشده را پیمایش میکنند و کار زیر را انجام میدهند:"
418
418
419
-
msgid":meth:`set.update` and :meth:`set.union` lock both objects only when"
420
-
msgstr":meth:`set.update` و :meth:`set.union` هر دو شیء را فقط زمانی قفل میکنند که"
421
-
422
-
msgid"the other operand is a :class:`set`, :class:`frozenset`, or :class:`dict`."
419
+
#,fuzzy
420
+
msgid":meth:`set.update` and :meth:`set.union` lock both objects only when the other operand is a :class:`set`, :class:`frozenset`, or :class:`dict`."
423
421
msgstr"عملوند دیگر یک :class:`set`، :class:`frozenset` یا :class:`dict` است."
424
422
425
-
msgid":meth:`set.intersection` and :meth:`set.difference` always try to lock"
423
+
#,fuzzy
424
+
msgid":meth:`set.intersection` and :meth:`set.difference` always try to lock all objects."
426
425
msgstr":meth:`set.intersection` و :meth:`set.difference` همیشه سعی میکنند قفل کنند"
427
426
428
-
msgid"all objects."
429
-
msgstr"تمام اشیاء."
430
-
431
427
msgid":meth:`set.symmetric_difference` tries to lock both objects."
432
428
msgstr":meth:`set.symmetric_difference` تلاش میکند هر دو شیء را قفل کند."
433
429
434
430
msgid"The update variants of the above methods also have some differences between them:"
435
431
msgstr"گونههای بهروزرسانی متدهای بالا نیز تفاوتهایی با یکدیگر دارند:"
436
432
437
-
msgid":meth:`set.difference_update` and :meth:`set.intersection_update` try"
433
+
#,fuzzy
434
+
msgid":meth:`set.difference_update` and :meth:`set.intersection_update` try to lock all objects one-by-one."
438
435
msgstr":meth:`set.difference_update` و :meth:`set.intersection_update` تلاش میکنند"
439
436
440
-
msgid"to lock all objects one-by-one."
441
-
msgstr"برای قفل کردن همهی اشیاء بهصورت یکییکی."
442
-
443
-
msgid":meth:`set.symmetric_difference_update` only locks the arguments if it is"
437
+
#,fuzzy
438
+
msgid":meth:`set.symmetric_difference_update` only locks the arguments if it is of type :class:`set`, :class:`frozenset`, or :class:`dict`."
444
439
msgstr":meth:`set.symmetric_difference_update` آرگومانها را تنها در صورتی قفل میکند که"
445
440
446
-
msgid"of type :class:`set`, :class:`frozenset`, or :class:`dict`."
447
-
msgstr"از نوع :class:`set`، :class:`frozenset` یا :class:`dict`."
448
-
449
441
msgid"The following methods always try to lock both objects:"
450
442
msgstr"متدهای زیر همیشه تلاش میکنند هر دو شیء را قفل کنند:"
451
443
@@ -638,3 +630,15 @@ msgstr ""
638
630
639
631
msgid"Resizing or reallocating the underlying object (such as calling :meth:`bytearray.resize`) while a memoryview is exported raises :exc:`BufferError`. This is enforced regardless of threading."
640
632
msgstr"تغییر اندازه یا تخصیص مجدد شیء زیرین (مانند فراخوانی :meth:`bytearray.resize`) در حالی که یک memoryview اکسپورت شده باشد، :exc:`BufferError` را پرتاب میکند. این امر صرفنظر از نخبندی اعمال میشود."
633
+
634
+
#~ msgid ":meth:`set.update` and :meth:`set.union` lock both objects only when"
635
+
#~ msgstr ":meth:`set.update` و :meth:`set.union` هر دو شیء را فقط زمانی قفل میکنند که"
636
+
637
+
#~ msgid "all objects."
638
+
#~ msgstr "تمام اشیاء."
639
+
640
+
#~ msgid "to lock all objects one-by-one."
641
+
#~ msgstr "برای قفل کردن همهی اشیاء بهصورت یکییکی."
642
+
643
+
#~ msgid "of type :class:`set`, :class:`frozenset`, or :class:`dict`."
644
+
#~ msgstr "از نوع :class:`set`، :class:`frozenset` یا :class:`dict`."
msgid"Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start, stop, and step indices from the slice object *slice* assuming a sequence of length *length*, and store the length of the slice in *slicelength*. Out of bounds indices are clipped in a manner consistent with the handling of normal slices."
51
+
#,fuzzy
52
+
msgid"Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start, stop, and step indices from the slice object *slice* assuming a sequence of length *length*, and store the length of the slice in *slicelength*. Out of bounds indices are clipped in a manner consistent with the handling of normal slices. *length* must not be negative."
52
53
msgstr"جایگزین قابل استفاده برای :c:func:`PySlice_GetIndices`. اندیسهای شروع، توقف و گام را از شیء اسلایس *slice* با فرض دنبالهای به طول *length* بازیابی میکند و طول اسلایس را در *slicelength* ذخیره میکند. اندیسهای خارج از محدوده به شکلی سازگار با نحوهی برخورد با اسلایسهای معمولی محدود میشوند."
53
54
54
55
msgid"Return ``0`` on success and ``-1`` on error with an exception set."
@@ -95,6 +96,9 @@ msgstr "در صورت خطا ``-1`` به همراه استثنای تنظیم
95
96
msgid"Adjust start/end slice indices assuming a sequence of the specified length. Out of bounds indices are clipped in a manner consistent with the handling of normal slices."
96
97
msgstr"اندیسهای شروع/پایان اسلایس را با فرض دنبالهای به طول مشخصشده تنظیم میکند. اندیسهای خارج از محدوده به شکلی سازگار با نحوهی برخورد با اسلایسهای معمولی محدود میشوند."
97
98
99
+
msgid"*length* must not be negative. *step* must not be zero and must not be less than ``-PY_SSIZE_T_MAX``, as guaranteed by :c:func:`PySlice_Unpack`."
100
+
msgstr""
101
+
98
102
msgid"Return the length of the slice. Always successful. Doesn't call Python code."
99
103
msgstr"طول اسلایس را برمیگرداند. همیشه موفق است. کد پایتون را فراخوانی نمیکند."
0 commit comments