@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-10-09 20:03 +0000\n "
14+ "POT-Creation-Date : 2026-10-17 17:36 +0000\n "
1515"PO-Revision-Date : 2026-05-08 17:16+0000\n "
1616"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -42,6 +42,13 @@ msgid ""
4242"UTF-8 representation is created on demand and cached in the Unicode object."
4343msgstr ""
4444
45+ msgid ""
46+ "The internal buffer always includes an extra trailing null character for "
47+ "compatibility with null terminated C strings. This extra character is not "
48+ "counted in :c:func:`PyUnicode_GetLength` nor in the various *size* arguments "
49+ "of the functions below."
50+ msgstr ""
51+
4552msgid ""
4653"The :c:type:`Py_UNICODE` representation has been removed since Python 3.12 "
4754"with deprecated APIs. See :pep:`623` for more information."
@@ -153,7 +160,12 @@ msgstr ""
153160
154161msgid ""
155162"Read a code point from a canonical representation *data* (as obtained with :"
156- "c:func:`PyUnicode_DATA`). No checks or ready calls are performed."
163+ "c:func:`PyUnicode_DATA`). No checks are performed."
164+ msgstr ""
165+
166+ msgid ""
167+ "Accept reading the trailing null character at index :c:func:"
168+ "`PyUnicode_GetLength`."
157169msgstr ""
158170
159171msgid ""
@@ -354,6 +366,12 @@ msgid ""
354366"range, it will be transformed into UCS1 (:c:macro:`PyUnicode_1BYTE_KIND`)."
355367msgstr ""
356368
369+ msgid ""
370+ "All characters must be in range [U+0000; U+10ffff]. If *kind* is :c:macro:"
371+ "`PyUnicode_4BYTE_KIND` and the string contains invalid characters, the "
372+ "behavior is undefined."
373+ msgstr ""
374+
357375msgid ""
358376"Create a Unicode object from the char buffer *str*. The bytes will be "
359377"interpreted as being UTF-8 encoded. The buffer is copied into the new "
@@ -774,6 +792,9 @@ msgstr ""
774792msgid "On error, set an exception and return ``-1``."
775793msgstr ""
776794
795+ msgid "The length does not count the trailing null character."
796+ msgstr ""
797+
777798msgid ""
778799"Copy characters from one Unicode object into another. This function "
779800"performs character conversion when necessary and falls back to :c:func:`!"
@@ -842,6 +863,11 @@ msgstr ""
842863msgid "Return character on success, ``-1`` on error with an exception set."
843864msgstr ""
844865
866+ msgid ""
867+ "Do not accept reading the trailing null character at index :c:func:"
868+ "`PyUnicode_GetLength`."
869+ msgstr ""
870+
845871msgid ""
846872"Return a substring of *unicode*, from character index *start* (included) to "
847873"character index *end* (excluded). Negative indices are not supported. On "
@@ -1781,6 +1807,11 @@ msgid ""
17811807"success, or :c:func:`PyUnicodeWriter_Discard` on error."
17821808msgstr ""
17831809
1810+ msgid ""
1811+ "The API is **not thread safe**. To share a writer with multiple threads, a "
1812+ "critical section or a lock is needed."
1813+ msgstr ""
1814+
17841815msgid "Create a Unicode writer instance."
17851816msgstr ""
17861817
@@ -1845,12 +1876,17 @@ msgid ""
18451876"``wcslen(str)`` to get the string length."
18461877msgstr ""
18471878
1848- msgid "Writer the UCS4 string *str* into *writer*."
1879+ msgid "Write the UCS4 string *str* into *writer*."
18491880msgstr ""
18501881
18511882msgid "*size* is a number of UCS4 characters."
18521883msgstr ""
18531884
1885+ msgid ""
1886+ "All characters must be in range [U+0000; U+10ffff]. If the string contains "
1887+ "invalid characters, the behavior is undefined."
1888+ msgstr ""
1889+
18541890msgid ""
18551891"Call :c:func:`PyObject_Str` on *obj* and write the output into *writer*."
18561892msgstr ""
0 commit comments