11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2025 , Python Software Foundation
2+ # Copyright (C) 2001-2026 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.13\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-01-03 14:16 +0000\n "
14+ "POT-Creation-Date : 2026-03-23 15:38 +0000\n "
1515"PO-Revision-Date : 2025-09-15 01:03+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Russian (https://app.transifex.com/python-doc/teams/5390/ru/)\n "
@@ -127,15 +127,49 @@ msgid ""
127127"arguments."
128128msgstr ""
129129
130- #: ../../c-api/file.rst:101
130+ #: ../../c-api/file.rst:98
131+ msgid ""
132+ "Open *path* with the mode ``'rb'``. *path* must be a Python :class:`str` "
133+ "object. The behavior of this function may be overridden by "
134+ ":c:func:`PyFile_SetOpenCodeHook` to allow for some preprocessing of the "
135+ "text."
136+ msgstr ""
137+
138+ #: ../../c-api/file.rst:103
139+ msgid "This is analogous to :func:`io.open_code` in Python."
140+ msgstr ""
141+
142+ #: ../../c-api/file.rst:105
143+ msgid ""
144+ "On success, this function returns a :term:`strong reference` to a Python "
145+ "file object. On failure, this function returns ``NULL`` with an exception "
146+ "set."
147+ msgstr ""
148+
149+ #: ../../c-api/file.rst:114
150+ msgid ""
151+ "Similar to :c:func:`PyFile_OpenCodeObject`, but *path* is a UTF-8 encoded "
152+ ":c:expr:`const char*`."
153+ msgstr ""
154+
155+ #: ../../c-api/file.rst:124
131156msgid ""
132157"Write object *obj* to file object *p*. The only supported flag for *flags* "
133158"is :c:macro:`Py_PRINT_RAW`; if given, the :func:`str` of the object is "
134- "written instead of the :func:`repr`. Return ``0`` on success or ``-1`` on "
135- "failure; the appropriate exception will be set."
159+ "written instead of the :func:`repr`."
160+ msgstr ""
161+
162+ #: ../../c-api/file.rst:128
163+ msgid "If *obj* is ``NULL``, write the string ``\" <NULL>\" ``."
164+ msgstr ""
165+
166+ #: ../../c-api/file.rst:130
167+ msgid ""
168+ "Return ``0`` on success or ``-1`` on failure; the appropriate exception will"
169+ " be set."
136170msgstr ""
137171
138- #: ../../c-api/file.rst:109
172+ #: ../../c-api/file.rst:135
139173msgid ""
140174"Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on "
141175"failure; the appropriate exception will be set."
@@ -153,6 +187,6 @@ msgstr ""
153187msgid "EOFError (built-in exception)"
154188msgstr ""
155189
156- #: ../../c-api/file.rst:99
190+ #: ../../c-api/file.rst:122
157191msgid "Py_PRINT_RAW (C macro)"
158192msgstr ""
0 commit comments