Repository navigation
Expand file tree
/
Copy pathiter.po
More file actions
100 lines (88 loc) · 5.84 KB
/
Copy pathiter.po
File metadata and controls
100 lines (88 loc) · 5.84 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
# 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:
# Bhuvansh Kataria, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-15 14:15+0000\n"
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
"Last-Translator: Bhuvansh Kataria, 2026\n"
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
"teams/5390/pa/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pa\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* ਨੂੰ ਇਟਰੇਟਰ *iter* ਦੇ ਅਗਲੇ ਮੁੱਲ ਲਈ ਇੱਕ :term:"
"`strong reference` 'ਤੇ ਸੈੱਟ ਕਰੋ। ਜੇ ਕੋਈ ਮੁੱਲ ਬਾਕੀ ਨਹੀਂ ਹੈ, ਤਾਂ ``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 ""
":c:func:`PyIter_Send` ਦੇ ਵੱਖ-ਵੱਖ ਨਤੀਜਿਆਂ ਨੂੰ ਦਰਸਾਉਣ ਲਈ ਵਰਤਿਆ ਜਾਣ ਵਾਲਾ enum ਮੁੱਲ।"
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 ""
"ਜੇ ਇਟਰੇਟਰ return ਕਰਦਾ ਹੈ ਤਾਂ ``PYGEN_RETURN``। ਵਾਪਸੀ ਮੁੱਲ *presult* ਰਾਹੀਂ ਵਾਪਸ ਕੀਤਾ "
"ਜਾਂਦਾ ਹੈ।"
msgid ""
"``PYGEN_NEXT`` if iterator yields. Yielded value is returned via *presult*."
msgstr ""
"ਜੇ ਇਟਰੇਟਰ yield ਕਰਦਾ ਹੈ ਤਾਂ ``PYGEN_NEXT``। yield ਕੀਤਾ ਗਿਆ ਮੁੱਲ *presult* ਰਾਹੀਂ "
"ਵਾਪਸ ਕੀਤਾ ਜਾਂਦਾ ਹੈ।"
msgid ""
"``PYGEN_ERROR`` if iterator has raised an exception. *presult* is set to "
"``NULL``."
msgstr ""
"ਜੇ ਇਟਰੇਟਰ ਇੱਕ ਅਪਵਾਦ ਪੈਦਾ ਕਰਦਾ ਹੈ ਤਾਂ ``PYGEN_ERROR``। *presult* ਨੂੰ ``NULL`` 'ਤੇ ਸੈੱਟ "
"ਕੀਤਾ ਜਾਂਦਾ ਹੈ।"