Skip to content

Commit 4f00b54

Browse files
Update reviewed translations from Transifex
1 parent a900929 commit 4f00b54

18 files changed

Lines changed: 171 additions & 177 deletions

‎builtins/functions.po‎

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-11-03 20:20+0000\n"
14+
"POT-Creation-Date: 2026-11-09 23:13+0000\n"
1515
"PO-Revision-Date: 2026-09-13 17:09+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/teams/"
@@ -1252,21 +1252,13 @@ msgid ""
12521252
"This function supports dynamic execution of Python code. *source* must be "
12531253
"either a string or a code object. If it is a string, the string is parsed "
12541254
"as a suite of Python statements which is then executed (unless a syntax "
1255-
"error occurs). [#]_ If it is a code object, it is simply executed. In all "
1256-
"cases, the code that's executed is expected to be valid as file input (see "
1257-
"the section :ref:`file-input` in the Reference Manual). Be aware that "
1255+
"error occurs). If it is a code object, it is simply executed. In all cases, "
1256+
"the code that's executed is expected to be valid as file input (see the "
1257+
"section :ref:`file-input` in the Reference Manual). Be aware that "
12581258
"the :keyword:`nonlocal`, :keyword:`yield`, and :keyword:`return` statements "
12591259
"may not be used outside of function definitions even within the context of "
12601260
"code passed to the :func:`exec` function. The return value is ``None``."
12611261
msgstr ""
1262-
"ਇਹ ਫੰਕਸ਼ਨ ਪਾਈਥਨ ਕੋਡ ਦੀ ਡਾਇਨਾਮਿਕ ਚਲਾਉਣ ਦਾ ਸਮਰਥਨ ਕਰਦਾ ਹੈ। *source* ਜਾਂ ਤਾਂ ਇੱਕ ਸਟਰਿੰਗ "
1263-
"ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ ਜਾਂ ਇੱਕ ਕੋਡ ਆਬਜੈਕਟ। ਜੇ ਇਹ ਸਟਰਿੰਗ ਹੈ, ਤਾਂ ਇਸਨੂੰ ਪਾਈਥਨ ਬਿਆਨਾਂ ਦੇ ਇੱਕ ਸੂਟ ਵਜੋਂ "
1264-
"ਪਾਰਸ ਕੀਤਾ ਜਾਂਦਾ ਹੈ ਅਤੇ ਫਿਰ ਚਲਾਇਆ ਜਾਂਦਾ ਹੈ (ਜਦ ਤੱਕ ਕਿ ਕੋਈ ਸਿੰਟੈਕਸ ਗਲਤੀ ਨਾ ਹੋਵੇ)। [#]_ ਜੇ "
1265-
"ਇਹ ਕੋਡ ਆਬਜੈਕਟ ਹੈ, ਤਾਂ ਇਹ ਸਿੱਧਾ ਚਲਾਇਆ ਜਾਂਦਾ ਹੈ। ਸਾਰੇ ਮਾਮਲਿਆਂ ਵਿੱਚ, ਚਲਾਇਆ ਗਿਆ ਕੋਡ ਫਾਈਲ "
1266-
"ਇਨਪੁੱਟ ਵਜੋਂ ਵੈਧ ਹੋਣ ਦੀ ਉਮੀਦ ਕੀਤੀ ਜਾਂਦੀ ਹੈ (ਹਵਾਲਾ ਮੈਨੂਅਲ ਵਿੱਚ \" :ref:`file-input` \" "
1267-
"ਸੈਕਸ਼ਨ ਵੇਖੋ)। ਧਿਆਨ ਰੱਖੋ ਕਿ :keyword:`nonlocal`, :keyword:`yield` "
1268-
"ਅਤੇ :keyword:`return` ਸਟੇਟਮੈਂਟਾਂ ਨੂੰ ਫੰਕਸ਼ਨ ਡੈਫੀਨੇਸ਼ਨਾਂ ਤੋਂ ਬਾਹਰ, ਇੱਥੋਂ ਤੱਕ ਕਿ :func:`exec` "
1269-
"ਫੰਕਸ਼ਨ ਨੂੰ ਦਿੱਤੇ ਗਏ ਕੋਡ ਦੇ ਸੰਦਰਭ ਵਿੱਚ ਵੀ, ਵਰਤਿਆ ਨਹੀਂ ਜਾ ਸਕਦਾ। ਵਾਪਸੀ ਮੁੱਲ ``None`` ਹੈ।"
12701262

12711263
msgid ""
12721264
"In all cases, if the optional parts are omitted, the code is executed in the "
@@ -3058,11 +3050,9 @@ msgstr ""
30583050
"<MISSING>"
30593051

30603052
msgid ""
3061-
"Sentinel objects are truthy and compare equal only to themselves. They are "
3053+
"Sentinel objects are true and compare equal only to themselves. They are "
30623054
"intended to be compared with the :keyword:`is` operator."
30633055
msgstr ""
3064-
"Sentinel ਆਬਜੈਕਟ truthy ਹੁੰਦੇ ਹਨ ਅਤੇ ਕੇਵਲ ਆਪਣੇ ਆਪ ਨਾਲ ਹੀ ਬਰਾਬਰ ਮੰਨੇ ਜਾਂਦੇ ਹਨ। ਇਨ੍ਹਾਂ ਦੀ "
3065-
"ਤੁਲਨਾ :keyword:`is` operator ਨਾਲ ਕਰਨ ਲਈ ਬਣਾਈ ਗਈ ਹੈ।"
30663056

30673057
msgid "``sentinel`` does not support subclassing."
30683058
msgstr "``sentinel`` subclassing ਦਾ ਸਮਰਥਨ ਨਹੀਂ ਕਰਦਾ।"
@@ -3950,18 +3940,6 @@ msgstr ""
39503940
"ਜਦੋਂ command line options :option:`-E` ਜਾਂ :option:`-I` ਵਰਤੇ ਜਾਂਦੇ ਹਨ, ਤਾਂ "
39513941
"environment variable :envvar:`PYTHONCASEOK` ਨੂੰ ਹੁਣ ਅਣਡਿੱਠਾ ਕੀਤਾ ਜਾਂਦਾ ਹੈ।"
39523942

3953-
msgid "Footnotes"
3954-
msgstr "ਫੁਟਨੋਟ"
3955-
3956-
msgid ""
3957-
"Note that the parser only accepts the Unix-style end of line convention. If "
3958-
"you are reading the code from a file, make sure to use newline conversion "
3959-
"mode to convert Windows or Mac-style newlines."
3960-
msgstr ""
3961-
"ਧਿਆਨ ਦਿਓ ਕਿ parser ਕੇਵਲ Unix-ਸ਼ੈਲੀ end-of-line convention ਨੂੰ ਹੀ ਸਵੀਕਾਰ ਕਰਦਾ ਹੈ। ਜੇ "
3962-
"ਤੁਸੀਂ ਫਾਈਲ ਤੋਂ ਕੋਡ ਪੜ੍ਹ ਰਹੇ ਹੋ, ਤਾਂ Windows ਜਾਂ Mac-ਸ਼ੈਲੀ newlines ਨੂੰ ਬਦਲਣ ਲਈ newline "
3963-
"conversion mode ਦੀ ਵਰਤੋਂ ਕਰਨਾ ਯਕੀਨੀ ਬਣਾਓ।"
3964-
39653943
msgid "Boolean"
39663944
msgstr "ਬੂਲੀਅਨ"
39673945

‎builtins/stdtypes.po‎

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.15\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-11-05 20:53+0000\n"
16+
"POT-Creation-Date: 2026-11-09 23:13+0000\n"
1717
"PO-Revision-Date: 2026-09-13 17:09+0000\n"
1818
"Last-Translator: Bhuvansh Kataria, 2026\n"
1919
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/teams/"
@@ -1395,9 +1395,9 @@ msgstr ""
13951395
msgid ""
13961396
"If the asynchronous generator function then exits gracefully, is already "
13971397
"closed, or raises :exc:`GeneratorExit` (by not catching the exception), then "
1398-
"the returned awaitable will raise a :exc:`StopIteration` exception. Any "
1399-
"further awaitables returned by subsequent calls to the asynchronous "
1400-
"generator will raise a :exc:`StopAsyncIteration` exception."
1398+
"the returned awaitable will raise a :exc:`StopIteration` exception. "
1399+
"Awaitables returned by subsequent calls to :meth:`~agen.__anext__` "
1400+
"or :meth:`~agen.asend` will raise a :exc:`StopAsyncIteration` exception."
14011401
msgstr ""
14021402

14031403
msgid ""
@@ -2760,19 +2760,19 @@ msgstr ""
27602760
msgid ""
27612761
"Perform a string formatting operation. The string on which this method is "
27622762
"called can contain literal text or replacement fields delimited by braces "
2763-
"``{}``. Each replacement field contains either the numeric index of a "
2764-
"positional argument, or the name of a keyword argument. Returns a copy of "
2765-
"the string where each replacement field is replaced with the string value of "
2766-
"the corresponding argument. For example:"
2763+
"``{}``. Each replacement field refers to a positional argument (numbered "
2764+
"explicitly or automatically) or a keyword argument. Returns a copy of the "
2765+
"string where each replacement field is replaced with the string value of the "
2766+
"corresponding argument. For example:"
27672767
msgstr ""
27682768

27692769
msgid ""
2770-
">>> \"The sum of 1 + 2 is {0}\".format(1+2)\n"
2771-
"'The sum of 1 + 2 is 3'\n"
2772-
">>> \"The sum of {a} + {b} is {answer}\".format(answer=1+2, a=1, b=2)\n"
2770+
">>> \"The sum of {} + {} is {}\".format(1, 2, 1+2)\n"
27732771
"'The sum of 1 + 2 is 3'\n"
27742772
">>> \"{1} expects the {0} Inquisition!\".format(\"Spanish\", \"Nobody\")\n"
2775-
"'Nobody expects the Spanish Inquisition!'"
2773+
"'Nobody expects the Spanish Inquisition!'\n"
2774+
">>> \"The sum of {a} + {b} is {answer}\".format(answer=1+2, a=1, b=2)\n"
2775+
"'The sum of 1 + 2 is 3'"
27762776
msgstr ""
27772777

27782778
msgid ""
@@ -3664,7 +3664,7 @@ msgstr ""
36643664
msgid ""
36653665
"Return a copy of the string with all the cased characters [4]_ converted to "
36663666
"uppercase. Note that ``s.upper().isupper()`` might be ``False`` if ``s`` "
3667-
"contains uncased characters or if the Unicode category of the resulting "
3667+
"contains no cased characters or if the Unicode category of the resulting "
36683668
"character(s) is not \"Lu\" (Letter, uppercase), but e.g. \"Lt\" (Letter, "
36693669
"titlecase)."
36703670
msgstr ""
@@ -4122,9 +4122,9 @@ msgid "No argument is converted, results in a ``'%'`` character in the result."
41224122
msgstr ""
41234123

41244124
msgid ""
4125-
"For floating-point formats, the result should be correctly rounded to a "
4126-
"given precision ``p`` of digits after the decimal point. The rounding mode "
4127-
"matches that of the :func:`round` builtin."
4125+
"For floating-point formats, the result should be correctly rounded to the "
4126+
"specified precision. The rounding mode matches that of the :func:`round` "
4127+
"builtin."
41284128
msgstr ""
41294129

41304130
msgid ""
@@ -6275,8 +6275,9 @@ msgid "Dictionaries are now reversible."
62756275
msgstr ""
62766276

62776277
msgid ""
6278-
":class:`frozendict` and :class:`types.MappingProxyType` can be used to "
6279-
"create a read-only view of a :class:`dict`."
6278+
":class:`types.MappingProxyType` can be used to create a read-only view of "
6279+
"a :class:`dict`. :class:`frozendict` is an immutable version "
6280+
"of :class:`dict`."
62806281
msgstr ""
62816282

62826283
msgid ""
@@ -6456,7 +6457,7 @@ msgstr ""
64566457
msgid ""
64576458
"Similar to :meth:`dict.fromkeys`, but call again the type constructor with "
64586459
"an initialized :class:`frozendict` if the type is a :class:`frozendict` "
6459-
"subclass or if the constructor returned a :class:`frozendict`."
6460+
"subclass."
64606461
msgstr ""
64616462

64626463
msgid "Context Manager Types"
@@ -7097,8 +7098,8 @@ msgstr ""
70977098

70987099
msgid ""
70997100
"The :meth:`!__or__` method for type objects was added to support the syntax "
7100-
"``X | Y``. If a metaclass implements :meth:`!__or__`, the Union may "
7101-
"override it:"
7101+
"``X | Y``. If a metaclass implements :meth:`!__or__`, it may override the "
7102+
"default behavior of creating a union:"
71027103
msgstr ""
71037104

71047105
msgid ""

‎faq/design.po‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.15\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-10-25 17:19+0000\n"
11+
"POT-Creation-Date: 2026-11-09 23:13+0000\n"
1212
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1313
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/teams/"
1414
"5390/pa/)\n"
@@ -21,9 +21,6 @@ msgstr ""
2121
msgid "Design and History FAQ"
2222
msgstr ""
2323

24-
msgid "Contents"
25-
msgstr ""
26-
2724
msgid "Why does Python use indentation for grouping of statements?"
2825
msgstr ""
2926

‎faq/extending.po‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.15\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-10-19 19:33+0000\n"
11+
"POT-Creation-Date: 2026-11-09 23:13+0000\n"
1212
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1313
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/teams/"
1414
"5390/pa/)\n"
@@ -21,9 +21,6 @@ msgstr ""
2121
msgid "Extending/Embedding FAQ"
2222
msgstr ""
2323

24-
msgid "Contents"
25-
msgstr ""
26-
2724
msgid "Can I create my own functions in C?"
2825
msgstr ""
2926

‎faq/general.po‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.15\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-10-19 19:33+0000\n"
11+
"POT-Creation-Date: 2026-11-09 23:13+0000\n"
1212
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1313
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/teams/"
1414
"5390/pa/)\n"
@@ -21,9 +21,6 @@ msgstr ""
2121
msgid "General Python FAQ"
2222
msgstr ""
2323

24-
msgid "Contents"
25-
msgstr ""
26-
2724
msgid "General Information"
2825
msgstr ""
2926

‎faq/gui.po‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.15\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-10-19 19:33+0000\n"
11+
"POT-Creation-Date: 2026-11-09 23:13+0000\n"
1212
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1313
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/teams/"
1414
"5390/pa/)\n"
@@ -21,9 +21,6 @@ msgstr ""
2121
msgid "Graphic User Interface FAQ"
2222
msgstr ""
2323

24-
msgid "Contents"
25-
msgstr ""
26-
2724
msgid "General GUI Questions"
2825
msgstr ""
2926

‎faq/library.po‎

Lines changed: 12 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-10-19 19:33+0000\n"
14+
"POT-Creation-Date: 2026-11-09 23:13+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/teams/"
@@ -25,9 +25,6 @@ msgstr ""
2525
msgid "Library and Extension FAQ"
2626
msgstr ""
2727

28-
msgid "Contents"
29-
msgstr ""
30-
3128
msgid "General Library Questions"
3229
msgstr ""
3330

@@ -283,63 +280,6 @@ msgid ""
283280
"the low-level primitives provided by the :mod:`_thread` module."
284281
msgstr ""
285282

286-
msgid "None of my threads seem to run: why?"
287-
msgstr ""
288-
289-
msgid ""
290-
"As soon as the main thread exits, all threads are killed. Your main thread "
291-
"is running too quickly, giving the threads no time to do any work."
292-
msgstr ""
293-
294-
msgid ""
295-
"A simple fix is to add a sleep to the end of the program that's long enough "
296-
"for all the threads to finish::"
297-
msgstr ""
298-
299-
msgid ""
300-
"import threading, time\n"
301-
"\n"
302-
"def thread_task(name, n):\n"
303-
" for i in range(n):\n"
304-
" print(name, i)\n"
305-
"\n"
306-
"for i in range(10):\n"
307-
" T = threading.Thread(target=thread_task, args=(str(i), i))\n"
308-
" T.start()\n"
309-
"\n"
310-
"time.sleep(10) # <---------------------------!"
311-
msgstr ""
312-
313-
msgid ""
314-
"But now (on many platforms) the threads don't run in parallel, but appear to "
315-
"run sequentially, one at a time! The reason is that the OS thread scheduler "
316-
"doesn't start a new thread until the previous thread is blocked."
317-
msgstr ""
318-
319-
msgid "A simple fix is to add a tiny sleep to the start of the run function::"
320-
msgstr ""
321-
322-
msgid ""
323-
"def thread_task(name, n):\n"
324-
" time.sleep(0.001) # <--------------------!\n"
325-
" for i in range(n):\n"
326-
" print(name, i)\n"
327-
"\n"
328-
"for i in range(10):\n"
329-
" T = threading.Thread(target=thread_task, args=(str(i), i))\n"
330-
" T.start()\n"
331-
"\n"
332-
"time.sleep(10)"
333-
msgstr ""
334-
335-
msgid ""
336-
"Instead of trying to guess a good delay value for :func:`time.sleep`, it's "
337-
"better to use some kind of semaphore mechanism. One idea is to use "
338-
"the :mod:`queue` module to create a queue object, let each thread append a "
339-
"token to the queue when it finishes, and let the main thread read as many "
340-
"tokens from the queue as there are threads."
341-
msgstr ""
342-
343283
msgid "How do I parcel out work among a bunch of worker threads?"
344284
msgstr ""
345285

@@ -488,38 +428,21 @@ msgid ""
488428
msgstr ""
489429

490430
msgid ""
491-
"With the approval of :pep:`703` work is now underway to remove the GIL from "
492-
"the CPython implementation of Python. Initially it will be implemented as "
493-
"an optional compiler flag when building the interpreter, and so separate "
494-
"builds will be available with and without the GIL. Long-term, the hope is "
495-
"to settle on a single build, once the performance implications of removing "
496-
"the GIL are fully understood. Python 3.13 is likely to be the first release "
497-
"containing this work, although it may not be completely functional in this "
498-
"release."
499-
msgstr ""
500-
501-
msgid ""
502-
"The current work to remove the GIL is based on a `fork of Python 3.9 with "
503-
"the GIL removed <https://github.com/colesbury/nogil>`_ by Sam Gross. Prior "
504-
"to that, in the days of Python 1.5, Greg Stein actually implemented a "
505-
"comprehensive patch set (the \"free threading\" patches) that removed the "
506-
"GIL and replaced it with fine-grained locking. Adam Olsen did a similar "
507-
"experiment in his `python-safethread <https://code.google.com/archive/p/"
508-
"python-safethread>`_ project. Unfortunately, both of these earlier "
509-
"experiments exhibited a sharp drop in single-thread performance (at least "
510-
"30% slower), due to the amount of fine-grained locking necessary to "
511-
"compensate for the removal of the GIL. The Python 3.9 fork is the first "
512-
"attempt at removing the GIL with an acceptable performance impact."
431+
"Since Python 3.13, CPython provides an optional free-threaded build that can "
432+
"run with the GIL disabled, allowing Python threads to run in parallel on "
433+
"multiple CPU cores (see :pep:`703`). Free-threaded Python is officially "
434+
"supported as of Python 3.14 (see :pep:`779`), but is not the default build. "
435+
"See :doc:`/howto/free-threading-python` for details."
513436
msgstr ""
514437

515438
msgid ""
516439
"The presence of the GIL in current Python releases doesn't mean that you "
517440
"can't make good use of Python on multi-CPU machines! You just have to be "
518441
"creative with dividing the work up between multiple *processes* rather than "
519442
"multiple *threads*. The :class:`~concurrent.futures.ProcessPoolExecutor` "
520-
"class in the new :mod:`concurrent.futures` module provides an easy way of "
521-
"doing so; the :mod:`multiprocessing` module provides a lower-level API in "
522-
"case you want more control over dispatching of tasks."
443+
"class in the :mod:`concurrent.futures` module provides an easy way of doing "
444+
"so; the :mod:`multiprocessing` module provides a lower-level API in case you "
445+
"want more control over dispatching of tasks."
523446
msgstr ""
524447

525448
msgid ""
@@ -534,7 +457,9 @@ msgid ""
534457
"An alternative approach to reducing the impact of the GIL is to make the GIL "
535458
"a per-interpreter-state lock rather than truly global. This was :ref:`first "
536459
"implemented in Python 3.12 <whatsnew312-pep684>` and is available in the C "
537-
"API. A Python interface to it is expected in Python 3.13. The main "
460+
"API. Python interfaces were added in Python 3.14 through "
461+
"the :mod:`concurrent.interpreters` module and "
462+
"the :class:`~concurrent.futures.InterpreterPoolExecutor` class. The main "
538463
"limitation to it at the moment is likely to be 3rd party extension modules, "
539464
"since these must be written with multiple interpreters in mind in order to "
540465
"be usable, so many older extension modules will not be usable."

0 commit comments

Comments
 (0)