Skip to content

Commit bcdec84

Browse files
chore: sync msgids with CPython 3.15
1 parent 80e5927 commit bcdec84

4 files changed

Lines changed: 563 additions & 141 deletions

File tree

‎c-api/marshal.po‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-16 12:56+0000\n"
14+
"POT-Creation-Date: 2026-10-12 04:25+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
1616
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1717
"Language-Team: Persian (http://github.com/python/python-docs-fa/)\n"
@@ -42,9 +42,15 @@ msgstr "یک عدد صحیح :c:expr:`long` به نام *value* را در *file*
4242
msgid "This function can fail, in which case it sets the error indicator. Use :c:func:`PyErr_Occurred` to check for that."
4343
msgstr "این تابع می‌تواند شکست بخورد، که در این صورت نشانگر خطا را تنظیم می‌کند. برای بررسی این موضوع از :c:func:`PyErr_Occurred` استفاده کنید."
4444

45+
msgid "In Python 3.15 and earlier, this function does not set the error indicator if writing to *file* fails. The same caveat applies as for :c:func:`PyMarshal_WriteObjectToFile`."
46+
msgstr ""
47+
4548
msgid "Marshal a Python object, *value*, to *file*. *version* indicates the file format."
4649
msgstr "یک شیء پایتون، *value*، را به *file* مارشال کنید. *version* قالب پرونده را مشخص می‌کند."
4750

51+
msgid "In Python 3.15 and earlier, this function can write only part of the data to *file* and return without setting the error indicator, for example if *value* contains an object which cannot be marshalled or if writing to *file* fails (see :gh:`155907`). Code which has to support these versions cannot rely on :c:func:`PyErr_Occurred` alone to know that all the data was written. It can use :c:func:`PyMarshal_WriteObjectToString` and write the result itself, or validate what was written."
52+
msgstr ""
53+
4854
msgid "Return a bytes object containing the marshalled representation of *value*. *version* indicates the file format."
4955
msgstr "یک شیء bytes حاوی نمایش مارشال‌شده‌ی *value* را برمی‌گرداند. *version* قالب پرونده را مشخص می‌کند."
5056

0 commit comments

Comments
 (0)