-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathiter.po
More file actions
58 lines (46 loc) · 5 KB
/
Copy pathiter.po
File metadata and controls
58 lines (46 loc) · 5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Revisto <theRevisto@gmail.com>, 2025
# Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-09-16 12:56+0000\n"
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
"Language: fa\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid "Iterator Protocol"
msgstr "پروتکل پیمایشگر"
msgid "There are two functions specifically for working with iterators."
msgstr "دو تابع بهطور خاص برای کار با پیمایشگرها وجود دارند."
msgid "Return non-zero if the object *o* can be safely passed to :c:func:`PyIter_NextItem` and ``0`` otherwise. This function always succeeds."
msgstr "اگر شیء *o* بتواند بهطور ایمن به :c:func:`PyIter_NextItem` پاس داده شود، مقدار غیرصفر و در غیر این صورت ``0`` برگردانده میشود. این تابع همیشه با موفقیت انجام میشود."
msgid "Return non-zero if the object *o* provides the :class:`AsyncIterator` protocol, and ``0`` otherwise. This function always succeeds."
msgstr "اگر شیء *o* پروتکل :class:`AsyncIterator` را فراهم کند، مقدار غیر صفر برمیگرداند و در غیر این صورت ``0``. این تابع همیشه موفق میشود."
msgid "Return ``1`` and set *item* to a :term:`strong reference` of the next value of the iterator *iter* on success. Return ``0`` and set *item* to ``NULL`` if there are no remaining values. Return ``-1``, set *item* to ``NULL`` and set an exception on error."
msgstr "در صورت موفقیت، مقدار ``1`` را برمیگرداند و *item* را برابر یک :term:`ارجاع قوی <strong reference>` به مقدار بعدی پیمایشگر *iter* قرار میدهد. اگر هیچ مقدار باقیماندهای وجود نداشته باشد، مقدار ``0`` را برمیگرداند و *item* را برابر ``NULL`` قرار میدهد. در صورت خطا، مقدار ``-1`` را برمیگرداند، *item* را برابر ``NULL`` قرار میدهد و یک استثنا تنظیم میکند."
msgid "This is an older version of :c:func:`!PyIter_NextItem`, which is retained for backwards compatibility. Prefer :c:func:`PyIter_NextItem`."
msgstr "این نسخهای قدیمیتر از :c:func:`!PyIter_NextItem` است که برای سازگاری با نسخههای قبلی نگه داشته شده است. استفاده از :c:func:`PyIter_NextItem` را ترجیح دهید."
msgid "Return the next value from the iterator *o*. The object must be an iterator according to :c:func:`PyIter_Check` (it is up to the caller to check this). If there are no remaining values, returns ``NULL`` with no exception set. If an error occurs while retrieving the item, returns ``NULL`` and passes along the exception."
msgstr "مقدار بعدی را از پیمایشگر *o* برمیگرداند. شیء باید طبق :c:func:`PyIter_Check` یک پیمایشگر باشد (بررسی این مورد بر عهدهی فراخوانکننده است). اگر مقدار باقیماندهای وجود نداشته باشد، ``NULL`` را بدون تنظیم هیچ استثنایی برمیگرداند. اگر هنگام بازیابی آیتم خطایی رخ دهد، ``NULL`` را برمیگرداند و استثنا را منتقل میکند."
msgid "The enum value used to represent different results of :c:func:`PyIter_Send`."
msgstr "مقدار enum که برای نمایش نتایج مختلف تابع :c:func:`PyIter_Send` استفاده میشود."
msgid "Sends the *arg* value into the iterator *iter*. Returns:"
msgstr "مقدار *arg* را به پیمایشگر *iter* ارسال میکند. بازگشت:"
msgid "``PYGEN_RETURN`` if iterator returns. Return value is returned via *presult*."
msgstr "``PYGEN_RETURN`` اگر پیمایشگر بازگشت کند. مقدار بازگشتی از طریق *presult* بازگردانده میشود."
msgid "``PYGEN_NEXT`` if iterator yields. Yielded value is returned via *presult*."
msgstr "``PYGEN_NEXT`` اگر پیمایشگر مقداری تولید کند. مقدار تولیدشده از طریق *presult* بازگردانده میشود."
msgid "``PYGEN_ERROR`` if iterator has raised and exception. *presult* is set to ``NULL``."
msgstr "``PYGEN_ERROR`` اگر پیمایشگر استثنایی مطرح کرده باشد. *presult* برابر ``NULL`` قرار میگیرد."