-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathiter.po
More file actions
58 lines (46 loc) · 2.32 KB
/
Copy pathiter.po
File metadata and controls
58 lines (46 loc) · 2.32 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
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-18 04:30+0000\n"
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
"Language-Team: Persian (https://github.com/revisto/python-docs-fa/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 ""
msgid "Return non-zero if the object *o* provides the :class:`AsyncIterator` protocol, and ``0`` otherwise. This function always succeeds."
msgstr ""
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 ""
msgid "This is an older version of :c:func:`!PyIter_NextItem`, which is retained for backwards compatibility. Prefer :c:func:`PyIter_NextItem`."
msgstr ""
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 ""
msgid "The enum value used to represent different results of :c:func:`PyIter_Send`."
msgstr ""
msgid "Sends the *arg* value into the iterator *iter*. Returns:"
msgstr ""
msgid "``PYGEN_RETURN`` if iterator returns. Return value is returned via *presult*."
msgstr ""
msgid "``PYGEN_NEXT`` if iterator yields. Yielded value is returned via *presult*."
msgstr ""
msgid "``PYGEN_ERROR`` if iterator has raised and exception. *presult* is set to ``NULL``."
msgstr ""