@@ -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-03-23 14:50 +0000\n "
14+ "POT-Creation-Date : 2026-04-09 15:16 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -2501,8 +2501,8 @@ msgstr ""
25012501#: ../../c-api/unicode.rst:1817 ../../c-api/unicode.rst:1827
25022502#: ../../c-api/unicode.rst:1842 ../../c-api/unicode.rst:1852
25032503#: ../../c-api/unicode.rst:1861 ../../c-api/unicode.rst:1868
2504- #: ../../c-api/unicode.rst:1877 ../../c-api/unicode.rst:1892
2505- #: ../../c-api/unicode.rst:1899 ../../c-api/unicode.rst:1918
2504+ #: ../../c-api/unicode.rst:1881 ../../c-api/unicode.rst:1896
2505+ #: ../../c-api/unicode.rst:1903 ../../c-api/unicode.rst:1922
25062506msgid ""
25072507"On success, return ``0``. On error, set an exception, leave the writer "
25082508"unchanged, and return ``-1``."
@@ -2515,7 +2515,7 @@ msgid ""
25152515msgstr ""
25162516
25172517#: ../../c-api/unicode.rst:1824 ../../c-api/unicode.rst:1836
2518- #: ../../c-api/unicode.rst:1907
2518+ #: ../../c-api/unicode.rst:1911
25192519msgid ""
25202520"*size* is the string length in bytes. If *size* is equal to ``-1``, call "
25212521"``strlen(str)`` to get the string length."
@@ -2558,75 +2558,82 @@ msgid ""
25582558"Call :c:func:`PyObject_Str` on *obj* and write the output into *writer*."
25592559msgstr ""
25602560
2561- #: ../../c-api/unicode.rst:1873
2561+ #: ../../c-api/unicode.rst:1871
2562+ msgid ""
2563+ "To write a :class:`str` subclass which overrides the :meth:`~object.__str__` "
2564+ "method, :c:func:`PyUnicode_FromObject` can be used to get the original "
2565+ "string."
2566+ msgstr ""
2567+
2568+ #: ../../c-api/unicode.rst:1877
25622569msgid ""
25632570"Call :c:func:`PyObject_Repr` on *obj* and write the output into *writer*."
25642571msgstr ""
25652572
2566- #: ../../c-api/unicode.rst:1875
2573+ #: ../../c-api/unicode.rst:1879
25672574msgid "If *obj* is ``NULL``, write the string ``\" <NULL>\" `` into *writer*."
25682575msgstr ""
25692576
2570- #: ../../c-api/unicode.rst:1882
2577+ #: ../../c-api/unicode.rst:1886
25712578msgid "Added support for ``NULL``."
25722579msgstr ""
25732580
2574- #: ../../c-api/unicode.rst:1886
2581+ #: ../../c-api/unicode.rst:1890
25752582msgid "Write the substring ``str[start:end]`` into *writer*."
25762583msgstr ""
25772584
2578- #: ../../c-api/unicode.rst:1888
2585+ #: ../../c-api/unicode.rst:1892
25792586msgid ""
25802587"*str* must be Python :class:`str` object. *start* must be greater than or "
25812588"equal to 0, and less than or equal to *end*. *end* must be less than or "
25822589"equal to *str* length."
25832590msgstr ""
25842591
2585- #: ../../c-api/unicode.rst:1897
2592+ #: ../../c-api/unicode.rst:1901
25862593msgid ""
25872594"Similar to :c:func:`PyUnicode_FromFormat`, but write the output directly "
25882595"into *writer*."
25892596msgstr ""
25902597
2591- #: ../../c-api/unicode.rst:1904
2598+ #: ../../c-api/unicode.rst:1908
25922599msgid ""
25932600"Decode the string *str* from UTF-8 with *errors* error handler and write the "
25942601"output into *writer*."
25952602msgstr ""
25962603
2597- #: ../../c-api/unicode.rst:1910
2604+ #: ../../c-api/unicode.rst:1914
25982605msgid ""
25992606"*errors* is an :ref:`error handler <error-handlers>` name, such as "
26002607"``\" replace\" ``. If *errors* is ``NULL``, use the strict error handler."
26012608msgstr ""
26022609
2603- #: ../../c-api/unicode.rst:1913
2610+ #: ../../c-api/unicode.rst:1917
26042611msgid ""
26052612"If *consumed* is not ``NULL``, set *\\ *consumed* to the number of decoded "
26062613"bytes on success. If *consumed* is ``NULL``, treat trailing incomplete UTF-8 "
26072614"byte sequences as an error."
26082615msgstr ""
26092616
2610- #: ../../c-api/unicode.rst:1921
2617+ #: ../../c-api/unicode.rst:1925
26112618msgid "See also :c:func:`PyUnicodeWriter_WriteUTF8`."
26122619msgstr ""
26132620
2614- #: ../../c-api/unicode.rst:1924
2621+ #: ../../c-api/unicode.rst:1928
26152622msgid "Deprecated API"
26162623msgstr ""
26172624
2618- #: ../../c-api/unicode.rst:1926
2625+ #: ../../c-api/unicode.rst:1930
26192626msgid "The following API is deprecated."
26202627msgstr ""
26212628
2622- #: ../../c-api/unicode.rst:1930
2629+ #: ../../c-api/unicode.rst:1934
26232630msgid ""
26242631"This is a typedef of :c:type:`wchar_t`, which is a 16-bit type or 32-bit "
26252632"type depending on the platform. Please use :c:type:`wchar_t` directly "
26262633"instead."
26272634msgstr ""
26282635
2629- #: ../../c-api/unicode.rst:1934
2636+ #: ../../c-api/unicode.rst:1938
26302637msgid ""
26312638"In previous versions, this was a 16-bit type or a 32-bit type depending on "
26322639"whether you selected a \" narrow\" or \" wide\" Unicode version of Python at "
@@ -2636,26 +2643,26 @@ msgstr ""
26362643"Unicode バージョンのどちらを選択したかによって、 16ビットか32ビットのどちらか"
26372644"の型になっていました。"
26382645
2639- #: ../../c-api/unicode.rst:1944
2646+ #: ../../c-api/unicode.rst:1948
26402647msgid ""
26412648"Do nothing and return ``0``. This API is kept only for backward "
26422649"compatibility, but there are no plans to remove it."
26432650msgstr ""
26442651
2645- #: ../../c-api/unicode.rst:1950
2652+ #: ../../c-api/unicode.rst:1954
26462653msgid ""
26472654"This API does nothing since Python 3.12. Previously, this needed to be "
26482655"called for each string created using the old API (:c:func:`!"
26492656"PyUnicode_FromUnicode` or similar)."
26502657msgstr ""
26512658
2652- #: ../../c-api/unicode.rst:1958
2659+ #: ../../c-api/unicode.rst:1962
26532660msgid ""
26542661"Do nothing and return ``1``. This API is kept only for backward "
26552662"compatibility, but there are no plans to remove it."
26562663msgstr ""
26572664
2658- #: ../../c-api/unicode.rst:1964
2665+ #: ../../c-api/unicode.rst:1968
26592666msgid ""
26602667"This API does nothing since Python 3.12. Previously, this could be called to "
26612668"check if :c:func:`PyUnicode_READY` is necessary."
0 commit comments