-
-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathiterator.po
More file actions
99 lines (91 loc) · 3.88 KB
/
iterator.po
File metadata and controls
99 lines (91 loc) · 3.88 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2025, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.11\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-22 20:37+0000\n"
"PO-Revision-Date: 2025-09-22 16:49+0000\n"
"Last-Translator: python-doc bot, 2025\n"
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
"teams/5390/pt_BR/)\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % "
"1000000 == 0 ? 1 : 2;\n"
#: ../../c-api/iterator.rst:6
msgid "Iterator Objects"
msgstr "Objetos Iteradores"
#: ../../c-api/iterator.rst:8
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 ""
"O Python fornece dois objetos iteradores de propósito geral. O primeiro, um "
"iterador de sequência, trabalha com uma sequência arbitrária suportando o "
"método :meth:`~object.__getitem__`. O segundo trabalha com um objeto "
"chamável e um valor de sentinela, chamando o chamável para cada item na "
"sequência e finalizando a iteração quando o valor de sentinela é retornado."
#: ../../c-api/iterator.rst:17
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 ""
"Objeto de tipo para objetos iteradores retornados por :c:func:"
"`PySeqIter_New` e a forma de um argumento da função embutida :func:`iter` "
"para os tipos de sequência embutidos."
#: ../../c-api/iterator.rst:24
msgid ""
"Return true if the type of *op* is :c:data:`PySeqIter_Type`. This function "
"always succeeds."
msgstr ""
"Retorna true se o tipo de *op* for :c:data:`PySeqIter_Type`. Esta função "
"sempre é bem-sucedida."
#: ../../c-api/iterator.rst:30
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 ""
"Retorna um iterador que funcione com um objeto de sequência geral, *seq*. A "
"iteração termina quando a sequência levanta :exc:`IndexError` para a "
"operação de assinatura."
#: ../../c-api/iterator.rst:37
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 ""
"Objeto de tipo para objetos iteradores retornados por :c:func:"
"`PyCallIter_New` e a forma de dois argumentos da função embutida :func:"
"`iter`."
#: ../../c-api/iterator.rst:43
msgid ""
"Return true if the type of *op* is :c:data:`PyCallIter_Type`. This function "
"always succeeds."
msgstr ""
"Retorna true se o tipo de *op* for :c:data:`PyCallIter_Type`. Esta função "
"sempre é bem-sucedida."
#: ../../c-api/iterator.rst:49
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 ""
"Retorna um novo iterador. O primeiro parâmetro, *callable*, pode ser "
"qualquer objeto chamável do Python que possa ser chamado sem parâmetros; "
"cada chamada deve retornar o próximo item na iteração. Quando *callable* "
"retorna um valor igual a *sentinel*, a iteração será encerrada."