Skip to content

Commit bad8132

Browse files
chore: sync msgids with CPython 3.14
1 parent e1918b7 commit bad8132

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

library/ctypes.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-09-16 12:56+0000\n"
16+
"POT-Creation-Date: 2026-09-22 04:09+0000\n"
1717
"PO-Revision-Date: 2026-09-13 18:16+0330\n"
1818
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1919
"Language-Team: Persian (https://github.com/python/python-docs-fa/fa/)\n"
@@ -1374,6 +1374,9 @@ msgstr ""
13741374
msgid "It is also possible to use indexes different from 0, but you must know what you're doing, just as in C: You can access or change arbitrary memory locations. Generally you only use this feature if you receive a pointer from a C function, and you *know* that the pointer actually points to an array instead of a single item."
13751375
msgstr "همچنین می‌توانید از اندیس‌هایی غیر از ۰ استفاده کنید، اما باید بدانید چه کاری انجام می‌دهید، درست مانند C: می‌توانید به مکان‌های دلخواه حافظه دسترسی داشته باشید یا آن‌ها را تغییر دهید. به‌طور کلی، فقط زمانی از این قابلیت استفاده می‌کنید که یک اشاره‌گر از یک تابع C دریافت کرده‌اید و *می‌دانید* که آن اشاره‌گر در واقع به‌جای یک آیتم واحد، به یک آرایه اشاره می‌کند."
13761376

1377+
msgid "Because pointer objects support subscription, they implicitly support :term:`iteration <iterator>`. Unless doing this in a controlled manner, such as by manually calling :func:`next` on a :func:`pointer` iterator, this will typically lead to infinite loops or crashes, because ctypes has no way of knowing when to stop iteration. In other words, a ``pointer`` iterator will infinitely yield arbitrary memory."
1378+
msgstr ""
1379+
13771380
msgid "Behind the scenes, the :func:`pointer` function does more than simply create pointer instances, it has to create pointer *types* first. This is done with the :func:`POINTER` function, which accepts any :mod:`!ctypes` type, and returns a new type::"
13781381
msgstr "در پشت صحنه، تابع :func:`pointer` فراتر از صرف ایجاد نمونه‌های اشاره‌گر عمل می‌کند؛ ابتدا باید *انواع* اشاره‌گر را ایجاد کند. این کار با تابع :func:`POINTER` انجام می‌شود که هر نوعی از :mod:`!ctypes` را می‌پذیرد و نوع جدیدی را برمی‌گرداند::"
13791382

0 commit comments

Comments
 (0)