Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions builtins/threadsafety.po
Original file line number Diff line number Diff line change
Expand Up @@ -416,27 +416,23 @@ msgstr ""
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:"
msgstr ":meth:`set.update`، :meth:`set.union`، :meth:`set.intersection` و :meth:`set.difference` می‌توانند چندین پیمایش‌پذیر را به‌عنوان آرگومان بگیرند. همه‌ی آن‌ها تمام پیمایش‌پذیرهای داده‌شده را پیمایش می‌کنند و کار زیر را انجام می‌دهند:"

#, fuzzy
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`."
msgstr "عملوند دیگر یک :class:`set`، :class:`frozenset` یا :class:`dict` است."
msgstr ":meth:`set.update` و :meth:`set.union` هر دو شیء را تنها زمانی قفل می‌کنند که عملوند دیگر یک :class:`set`، :class:`frozenset` یا :class:`dict` باشد."

#, fuzzy
msgid ":meth:`set.intersection` and :meth:`set.difference` always try to lock all objects."
msgstr ":meth:`set.intersection` و :meth:`set.difference` همیشه سعی می‌کنند قفل کنند"
msgstr ":meth:`set.intersection` و :meth:`set.difference` همیشه سعی می‌کنند همه‌ی اشیاء را قفل کنند."

msgid ":meth:`set.symmetric_difference` tries to lock both objects."
msgstr ":meth:`set.symmetric_difference` تلاش می‌کند هر دو شیء را قفل کند."

msgid "The update variants of the above methods also have some differences between them:"
msgstr "گونه‌های به‌روزرسانی متدهای بالا نیز تفاوت‌هایی با یکدیگر دارند:"

#, fuzzy
msgid ":meth:`set.difference_update` and :meth:`set.intersection_update` try to lock all objects one-by-one."
msgstr ":meth:`set.difference_update` و :meth:`set.intersection_update` تلاش می‌کنند"
msgstr ":meth:`set.difference_update` و :meth:`set.intersection_update` سعی می‌کنند همه‌ی اشیاء را یکی‌یکی قفل کنند."

#, fuzzy
msgid ":meth:`set.symmetric_difference_update` only locks the arguments if it is of type :class:`set`, :class:`frozenset`, or :class:`dict`."
msgstr ":meth:`set.symmetric_difference_update` آرگومان‌ها را تنها در صورتی قفل می‌کند که"
msgstr ":meth:`set.symmetric_difference_update` آرگومان‌ها را تنها در صورتی قفل می‌کند که از نوع :class:`set`، :class:`frozenset` یا :class:`dict` باشند."

msgid "The following methods always try to lock both objects:"
msgstr "متدهای زیر همیشه تلاش می‌کنند هر دو شیء را قفل کنند:"
Expand Down
3 changes: 1 addition & 2 deletions c-api/slice.po
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ msgstr "احتمالاً نمی‌خواهید از این تابع استفاد
msgid "The parameter type for the *slice* parameter was ``PySliceObject*`` before."
msgstr "نوع پارامتر *slice* قبلاً ``PySliceObject*`` بود."

#, fuzzy
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."
msgstr "جایگزین قابل استفاده برای :c:func:`PySlice_GetIndices`. اندیس‌های شروع، توقف و گام را از شیء اسلایس *slice* با فرض دنباله‌ای به طول *length* بازیابی می‌کند و طول اسلایس را در *slicelength* ذخیره می‌کند. اندیس‌های خارج از محدوده به شکلی سازگار با نحوه‌ی برخورد با اسلایس‌های معمولی محدود می‌شوند."
msgstr "جایگزین قابل استفاده برای :c:func:`PySlice_GetIndices`. اندیس‌های شروع، توقف و گام را از شیء اسلایس *slice* با فرض دنباله‌ای به طول *length* بازیابی می‌کند و طول اسلایس را در *slicelength* ذخیره می‌کند. اندیس‌های خارج از محدوده به شکلی سازگار با نحوه‌ی برخورد با اسلایس‌های معمولی محدود می‌شوند. *length* نباید منفی باشد."

msgid "Return ``0`` on success and ``-1`` on error with an exception set."
msgstr "در صورت موفقیت ``0`` و در صورت خطا ``-1`` به همراه استثنای تنظیم‌شده برمی‌گرداند."
Expand Down
Loading
Loading