[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/python/python-docs-fa/3.15/c-api/iterator.po [Back]  [Original]

# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR , YEAR.
#
# Translators:
# Revisto , 2025
# Sepehr Rasouli , 2026
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-10-24 04:15+0000\n"
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
"Last-Translator: Sepehr Rasouli , 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 Objects"
msgstr " "

msgid "Python provides two general-purpose iterator objects.  The first, a sequence iterator, works with an arbitrary sequence supporting the :meth:`~object.__getitem__` method.  The second works with a callable object and a sentinel value, calling the callable for each item in the sequence, and ending the iteration when the sentinel value is returned."
msgstr "      .              :meth:`~object.__getitem__`    .                             ."

msgid "Type object for iterator objects returned by :c:func:`PySeqIter_New` and the one-argument form of the :func:`iter` built-in function for built-in sequence types."
msgstr "       :c:func:`PySeqIter_New`      :func:`iter`      ."

msgid "Return true if the type of *op* is :c:data:`PySeqIter_Type`.  This function always succeeds."
msgstr "  *op*  :c:data:`PySeqIter_Type`   true  .       ."

msgid "Return an iterator that works with a general sequence object, *seq*.  The iteration ends when the sequence raises :exc:`IndexError` for the subscripting operation."
msgstr "        *seq*  .           :exc:`IndexError`   ."

msgid "Type object for iterator objects returned by :c:func:`PyCallIter_New` and the two-argument form of the :func:`iter` built-in function."
msgstr "       :c:func:`PyCallIter_New`      :func:`iter`  ."

msgid "Return true if the type of *op* is :c:data:`PyCallIter_Type`.  This function always succeeds."
msgstr "  *op*   :c:data:`PyCallIter_Type`   true  .       ."

msgid "Return a new iterator.  The first parameter, *callable*, can be any Python callable object that can be called with no parameters; each call to it should return the next item in the iteration.  When *callable* returns a value equal to *sentinel*, the iteration will be terminated."
msgstr "   .   *callable*                         .  *callable*    *sentinel*    ."

msgid "Range Objects"
msgstr " "

msgid "The type object for :class:`range` objects."
msgstr "    :class:`range`."

msgid "Return true if the object *o* is an instance of a :class:`range` object. This function always succeeds."
msgstr "    *o*     :class:`range`  true  .       ."

msgid "Builtin Iterator Types"
msgstr "  "

msgid "These are built-in iteration types that are included in Python's C API, but provide no additional functions. They are here for completeness."
msgstr "       API  C         .       ."

msgid "These pointers are part of the :ref:`Stable ABI `."
msgstr ""

msgid "C type"
msgstr " C"

msgid "Python type"
msgstr " "

msgid ":py:class:`enumerate`"
msgstr ":py:class:`enumerate`"

msgid ":py:class:`filter`"
msgstr ":py:class:`filter`"

msgid ":py:class:`map`"
msgstr ":py:class:`map`"

msgid ":py:class:`reversed`"
msgstr ":py:class:`reversed`"

msgid ":py:class:`zip`"
msgstr ":py:class:`zip`"

msgid "Other Iterator Objects"
msgstr "  "

msgid "Type objects for iterators of various built-in objects."
msgstr "      ."

msgid "Do not create instances of these directly; prefer calling :c:func:`PyObject_GetIter` instead."
msgstr "           :c:func:`PyObject_GetIter`   ."

msgid "Note that there is no guarantee that a given built-in type uses a given iterator type. For example, iterating over :class:`range` will use one of two iterator types depending on the size of the range. Other types may start using a similar scheme in the future, without warning."
msgstr "                  .     :class:`range`            .               ."

Web Proxy Viewer  |  New URL  |  Original Page