-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathiter.po
More file actions
118 lines (106 loc) · 4.64 KB
/
Copy pathiter.po
File metadata and controls
118 lines (106 loc) · 4.64 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# 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:
# Dmytro Kazanzhy, 2022
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-11 14:19+0000\n"
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
"Last-Translator: Dmytro Kazanzhy, 2022\n"
"Language-Team: Ukrainian (https://app.transifex.com/python-doc/teams/5390/"
"uk/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: uk\n"
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != "
"11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % "
"100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || "
"(n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\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_Next`, and ``0`` otherwise. This function always succeeds."
msgstr ""
"Повертає ненульове значення, якщо об’єкт *o* можна безпечно передати в :c:"
"func:`PyIter_Next`, і ``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 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 ""
"To write a loop which iterates over an iterator, the C code should look "
"something like this::"
msgstr ""
"Щоб написати цикл, який повторює ітератор, код C має виглядати приблизно так:"
msgid ""
"PyObject *iterator = PyObject_GetIter(obj);\n"
"PyObject *item;\n"
"\n"
"if (iterator == NULL) {\n"
" /* propagate error */\n"
"}\n"
"\n"
"while ((item = PyIter_Next(iterator))) {\n"
" /* do something with item */\n"
" ...\n"
" /* release reference when done */\n"
" Py_DECREF(item);\n"
"}\n"
"\n"
"Py_DECREF(iterator);\n"
"\n"
"if (PyErr_Occurred()) {\n"
" /* propagate error */\n"
"}\n"
"else {\n"
" /* continue doing useful work */\n"
"}"
msgstr ""
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``."