Skip to content

Commit ec15c75

Browse files
[po] auto sync
1 parent 6ff1ac6 commit ec15c75

47 files changed

Lines changed: 690 additions & 639 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "0.00%", "updated_at": "2026-03-21T16:02:11Z"}
1+
{"translation": "0.00%", "updated_at": "2026-03-23T15:46:39Z"}

c-api/file.mo

0 Bytes
Binary file not shown.

c-api/file.po

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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 ""
1111
msgstr ""
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."
128128
msgstr ""
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
131156
msgid ""
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."
136170
msgstr ""
137171

138-
#: ../../c-api/file.rst:109
172+
#: ../../c-api/file.rst:135
139173
msgid ""
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 ""
153187
msgid "EOFError (built-in exception)"
154188
msgstr ""
155189

156-
#: ../../c-api/file.rst:99
190+
#: ../../c-api/file.rst:122
157191
msgid "Py_PRINT_RAW (C macro)"
158192
msgstr ""

howto/enum.mo

0 Bytes
Binary file not shown.

howto/enum.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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 ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-08-13 15:15+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"
@@ -186,8 +186,8 @@ msgstr ""
186186

187187
#: ../../howto/enum.rst:108
188188
msgid ""
189-
">>> from datetime import date\n"
190-
">>> Weekday.from_date(date.today())\n"
189+
">>> import datetime as dt\n"
190+
">>> Weekday.from_date(dt.date.today())\n"
191191
"<Weekday.TUESDAY: 2>"
192192
msgstr ""
193193

@@ -2301,8 +2301,8 @@ msgstr ""
23012301

23022302
#: ../../howto/enum.rst:1541
23032303
msgid ""
2304-
">>> from datetime import timedelta\n"
2305-
">>> class Period(timedelta, Enum):\n"
2304+
">>> import datetime as dt\n"
2305+
">>> class Period(dt.timedelta, Enum):\n"
23062306
"... \"different lengths of time\"\n"
23072307
"... _ignore_ = 'Period i'\n"
23082308
"... Period = vars()\n"

howto/logging-cookbook.mo

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)