@@ -16,7 +16,7 @@ msgid ""
1616msgstr ""
1717"Project-Id-Version : Python 3.14\n "
1818"Report-Msgid-Bugs-To : \n "
19- "POT-Creation-Date : 2025-05-30 14:22 +0000\n "
19+ "POT-Creation-Date : 2025-06-13 14:21 +0000\n "
2020"PO-Revision-Date : 2021-06-28 00:50+0000\n "
2121"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
2222"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -2251,10 +2251,10 @@ msgid "Write the single Unicode character *ch* into *writer*."
22512251msgstr ""
22522252
22532253#: ../../c-api/unicode.rst:1786 ../../c-api/unicode.rst:1796
2254- #: ../../c-api/unicode.rst:1808 ../../c-api/unicode.rst:1817
2255- #: ../../c-api/unicode.rst:1824 ../../c-api/unicode.rst:1831
2256- #: ../../c-api/unicode.rst:1842 ../../c-api/unicode.rst:1849
2257- #: ../../c-api/unicode.rst:1868
2254+ #: ../../c-api/unicode.rst:1811 ../../c-api/unicode.rst:1823
2255+ #: ../../c-api/unicode.rst:1832 ../../c-api/unicode.rst:1839
2256+ #: ../../c-api/unicode.rst:1846 ../../c-api/unicode.rst:1857
2257+ #: ../../c-api/unicode.rst:1864 ../../c-api/unicode.rst:1883
22582258msgid ""
22592259"On success, return ``0``. On error, set an exception, leave the writer "
22602260"unchanged, and return ``-1``."
@@ -2266,7 +2266,8 @@ msgid ""
22662266"*writer*."
22672267msgstr ""
22682268
2269- #: ../../c-api/unicode.rst:1793 ../../c-api/unicode.rst:1857
2269+ #: ../../c-api/unicode.rst:1793 ../../c-api/unicode.rst:1805
2270+ #: ../../c-api/unicode.rst:1872
22702271msgid ""
22712272"*size* is the string length in bytes. If *size* is equal to ``-1``, call "
22722273"``strlen(str)`` to get the string length."
@@ -2277,89 +2278,99 @@ msgid "See also :c:func:`PyUnicodeWriter_DecodeUTF8Stateful`."
22772278msgstr ""
22782279
22792280#: ../../c-api/unicode.rst:1803
2280- msgid "Writer the wide string *str* into *writer*."
2281+ msgid "Write the ASCII string *str* into *writer*."
22812282msgstr ""
22822283
2283- #: ../../c-api/unicode.rst:1805
2284+ #: ../../c-api/unicode.rst:1808
2285+ msgid ""
2286+ "*str* must only contain ASCII characters. The behavior is undefined if *str* "
2287+ "contains non-ASCII characters."
2288+ msgstr ""
2289+
2290+ #: ../../c-api/unicode.rst:1818
2291+ msgid "Write the wide string *str* into *writer*."
2292+ msgstr ""
2293+
2294+ #: ../../c-api/unicode.rst:1820
22842295msgid ""
22852296"*size* is a number of wide characters. If *size* is equal to ``-1``, call "
22862297"``wcslen(str)`` to get the string length."
22872298msgstr ""
22882299
2289- #: ../../c-api/unicode.rst:1813
2300+ #: ../../c-api/unicode.rst:1828
22902301msgid "Writer the UCS4 string *str* into *writer*."
22912302msgstr ""
22922303
2293- #: ../../c-api/unicode.rst:1815
2304+ #: ../../c-api/unicode.rst:1830
22942305msgid "*size* is a number of UCS4 characters."
22952306msgstr ""
22962307
2297- #: ../../c-api/unicode.rst:1822
2308+ #: ../../c-api/unicode.rst:1837
22982309msgid ""
22992310"Call :c:func:`PyObject_Str` on *obj* and write the output into *writer*."
23002311msgstr ""
23012312
2302- #: ../../c-api/unicode.rst:1829
2313+ #: ../../c-api/unicode.rst:1844
23032314msgid ""
23042315"Call :c:func:`PyObject_Repr` on *obj* and write the output into *writer*."
23052316msgstr ""
23062317
2307- #: ../../c-api/unicode.rst:1836
2318+ #: ../../c-api/unicode.rst:1851
23082319msgid "Write the substring ``str[start:end]`` into *writer*."
23092320msgstr ""
23102321
2311- #: ../../c-api/unicode.rst:1838
2322+ #: ../../c-api/unicode.rst:1853
23122323msgid ""
23132324"*str* must be Python :class:`str` object. *start* must be greater than or "
23142325"equal to 0, and less than or equal to *end*. *end* must be less than or "
23152326"equal to *str* length."
23162327msgstr ""
23172328
2318- #: ../../c-api/unicode.rst:1847
2329+ #: ../../c-api/unicode.rst:1862
23192330msgid ""
23202331"Similar to :c:func:`PyUnicode_FromFormat`, but write the output directly "
23212332"into *writer*."
23222333msgstr ""
23232334
2324- #: ../../c-api/unicode.rst:1854
2335+ #: ../../c-api/unicode.rst:1869
23252336msgid ""
23262337"Decode the string *str* from UTF-8 with *errors* error handler and write the "
23272338"output into *writer*."
23282339msgstr ""
23292340
2330- #: ../../c-api/unicode.rst:1860
2341+ #: ../../c-api/unicode.rst:1875
23312342msgid ""
23322343"*errors* is an :ref:`error handler <error-handlers>` name, such as "
23332344"``\" replace\" ``. If *errors* is ``NULL``, use the strict error handler."
23342345msgstr ""
23352346
2336- #: ../../c-api/unicode.rst:1863
2347+ #: ../../c-api/unicode.rst:1878
23372348msgid ""
23382349"If *consumed* is not ``NULL``, set *\\ *consumed* to the number of decoded "
23392350"bytes on success. If *consumed* is ``NULL``, treat trailing incomplete UTF-8 "
23402351"byte sequences as an error."
23412352msgstr ""
23422353
2343- #: ../../c-api/unicode.rst:1871
2354+ #: ../../c-api/unicode.rst:1886
23442355msgid "See also :c:func:`PyUnicodeWriter_WriteUTF8`."
23452356msgstr ""
23462357
2347- #: ../../c-api/unicode.rst:1874
2358+ #: ../../c-api/unicode.rst:1889
23482359msgid "Deprecated API"
23492360msgstr ""
23502361
2351- #: ../../c-api/unicode.rst:1876
2362+ #: ../../c-api/unicode.rst:1891
23522363msgid "The following API is deprecated."
23532364msgstr ""
23542365
2355- #: ../../c-api/unicode.rst:1880
2366+ #: ../../c-api/unicode.rst:1895
23562367msgid ""
23572368"This is a typedef of :c:type:`wchar_t`, which is a 16-bit type or 32-bit "
23582369"type depending on the platform. Please use :c:type:`wchar_t` directly "
23592370"instead."
23602371msgstr ""
23612372
2362- #: ../../c-api/unicode.rst:1884
2373+ #: ../../c-api/unicode.rst:1899
23632374msgid ""
23642375"In previous versions, this was a 16-bit type or a 32-bit type depending on "
23652376"whether you selected a \" narrow\" or \" wide\" Unicode version of Python at "
@@ -2369,26 +2380,26 @@ msgstr ""
23692380"se você selecionava uma versão Unicode \" estreita\" ou \" ampla\" do Python "
23702381"no momento da construção."
23712382
2372- #: ../../c-api/unicode.rst:1894
2383+ #: ../../c-api/unicode.rst:1909
23732384msgid ""
23742385"Do nothing and return ``0``. This API is kept only for backward "
23752386"compatibility, but there are no plans to remove it."
23762387msgstr ""
23772388
2378- #: ../../c-api/unicode.rst:1900
2389+ #: ../../c-api/unicode.rst:1915
23792390msgid ""
23802391"This API does nothing since Python 3.12. Previously, this needed to be "
23812392"called for each string created using the old API (:c:func:`!"
23822393"PyUnicode_FromUnicode` or similar)."
23832394msgstr ""
23842395
2385- #: ../../c-api/unicode.rst:1908
2396+ #: ../../c-api/unicode.rst:1923
23862397msgid ""
23872398"Do nothing and return ``1``. This API is kept only for backward "
23882399"compatibility, but there are no plans to remove it."
23892400msgstr ""
23902401
2391- #: ../../c-api/unicode.rst:1914
2402+ #: ../../c-api/unicode.rst:1929
23922403msgid ""
23932404"This API does nothing since Python 3.12. Previously, this could be called to "
23942405"check if :c:func:`PyUnicode_READY` is necessary."
0 commit comments