| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 41e7cb1 commit 535a609
92 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,7 +10,7 @@ msgid "" | |||
| 10 | 10 | msgstr "" | |
| 11 | 11 | "Project-Id-Version: Python 3.14\n" | |
| 12 | 12 | "Report-Msgid-Bugs-To: \n" | |
| 13 | - "POT-Creation-Date: 2026-09-19 20:08+0330\n" | ||
| 13 | + "POT-Creation-Date: 2026-09-21 11:59+0000\n" | ||
| 14 | 14 | "PO-Revision-Date: 2026-09-19 20:08+0330\n" | |
| 15 | 15 | "Last-Translator: Automatically generated\n" | |
| 16 | 16 | "Language-Team: none\n" | |
@@ -25,31 +25,11 @@ msgstr "ارجاع توکارهای پایتون" | |||
| 25 | 25 | msgid "Python comes with a number of built-in functions and classes." | |
| 26 | 26 | msgstr "پایتون با تعداد زیادی تابع و کلاس توکار ارائه میشود." | |
| 27 | 27 | ||
| 28 | - msgid "" | ||
| 29 | - "The built-in classes include data types that would normally be considered " | ||
| 30 | - "part of the \"core\" of a language, such as numbers and lists. For these " | ||
| 31 | - "types, the Python language core defines the form of literals and places some" | ||
| 32 | - " constraints on their semantics, but does not fully define the semantics." | ||
| 33 | - msgstr "" | ||
| 34 | - "کلاسهای توکار شامل انواع دادهای هستند که معمولاً بخشی از «هسته» یک زبان " | ||
| 35 | - "محسوب میشوند، مانند اعداد و فهرستها. برای این انواع، هسته زبان پایتون شکل" | ||
| 36 | - " مقادیر لفظی را تعریف میکند و محدودیتهایی بر معناشان میگذارد، اما معناشان" | ||
| 37 | - " را به طور کامل تعریف نمیکند." | ||
| 28 | + msgid "The built-in classes include data types that would normally be considered part of the \"core\" of a language, such as numbers and lists. For these types, the Python language core defines the form of literals and places some constraints on their semantics, but does not fully define the semantics." | ||
| 29 | + msgstr "کلاسهای توکار شامل انواع دادهای هستند که معمولاً بخشی از «هسته» یک زبان محسوب میشوند، مانند اعداد و فهرستها. برای این انواع، هسته زبان پایتون شکل مقادیر لفظی را تعریف میکند و محدودیتهایی بر معناشان میگذارد، اما معناشان را به طور کامل تعریف نمیکند." | ||
| 38 | 30 | ||
| 39 | - msgid "" | ||
| 40 | - "The built-ins also include functions and exceptions --- objects that can be " | ||
| 41 | - "used by all Python code without the need of an :keyword:`import` statement. " | ||
| 42 | - "Some of these are defined by the core language, but many are not essential " | ||
| 43 | - "for the core semantics and are only described here." | ||
| 44 | - msgstr "" | ||
| 45 | - "توکارها همچنین شامل توابع و استثناها --- اشیاءای که میتوانند توسط تمام " | ||
| 46 | - "کدهای پایتون بدون نیاز به دستور :keyword:`import` استفاده شوند --- میباشند." | ||
| 47 | - " برخی از اینها توسط زبان هسته تعریف شدهاند، اما بسیاری برای معنای هسته " | ||
| 48 | - "ضروری نیستند و فقط در اینجا توصیف شدهاند." | ||
| 31 | + msgid "The built-ins also include functions and exceptions --- objects that can be used by all Python code without the need of an :keyword:`import` statement. Some of these are defined by the core language, but many are not essential for the core semantics and are only described here." | ||
| 32 | + msgstr "توکارها همچنین شامل توابع و استثناها --- اشیاءای که میتوانند توسط تمام کدهای پایتون بدون نیاز به دستور :keyword:`import` استفاده شوند --- میباشند. برخی از اینها توسط زبان هسته تعریف شدهاند، اما بسیاری برای معنای هسته ضروری نیستند و فقط در اینجا توصیف شدهاند." | ||
| 49 | 33 | ||
| 50 | - msgid "" | ||
| 51 | - "In addition to the built-ins, Python provides an extensive importable " | ||
| 52 | - "standard library, see :ref:`library-index`." | ||
| 53 | - msgstr "" | ||
| 54 | - "علاوه بر توکارها، پایتون یک کتابخانه استاندارد گسترده و قابلوارد کردن فراهم" | ||
| 55 | - " میکند، به :ref:`library-index` مراجعه کنید." | ||
| 34 | + msgid "In addition to the built-ins, Python provides an extensive importable standard library, see :ref:`library-index`." | ||
| 35 | + msgstr "علاوه بر توکارها، پایتون یک کتابخانه استاندارد گسترده و قابلوارد کردن فراهم میکند، به :ref:`library-index` مراجعه کنید." | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ msgid "" | |||
| 14 | 14 | msgstr "" | |
| 15 | 15 | "Project-Id-Version: Python 3.14\n" | |
| 16 | 16 | "Report-Msgid-Bugs-To: \n" | |
| 17 | - "POT-Creation-Date: 2026-09-19 20:08+0330\n" | ||
| 17 | + "POT-Creation-Date: 2026-09-21 11:59+0000\n" | ||
| 18 | 18 | "PO-Revision-Date: 2021-06-28 00:47+0000\n" | |
| 19 | 19 | "Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n" | |
| 20 | 20 | "Language-Team: Persian (https://github.com/python/python-docs-fa/fa/)\n" | |
@@ -27,114 +27,62 @@ msgstr "" | |||
| 27 | 27 | msgid "Byte Array Objects" | |
| 28 | 28 | msgstr "اشیاء آرایهی بایت" | |
| 29 | 29 | ||
| 30 | - msgid "" | ||
| 31 | - "This subtype of :c:type:`PyObject` represents a Python bytearray object." | ||
| 32 | - msgstr "" | ||
| 33 | - "این زیرنوع از :c:type:`PyObject` نشاندهندهی یک شیء bytearray پایتون است." | ||
| 30 | + msgid "This subtype of :c:type:`PyObject` represents a Python bytearray object." | ||
| 31 | + msgstr "این زیرنوع از :c:type:`PyObject` نشاندهندهی یک شیء bytearray پایتون است." | ||
| 34 | 32 | ||
| 35 | - msgid "" | ||
| 36 | - "The internal buffer of :c:type:`PyByteArrayObject` always includes an extra " | ||
| 37 | - "trailing null byte for compatibility with null terminated C strings. This " | ||
| 38 | - "extra byte is not counted in :c:func:`PyByteArray_Size` nor in the *len* " | ||
| 39 | - "arguments of the functions below." | ||
| 40 | - msgstr "" | ||
| 41 | - "بافر داخلی :c:type:`PyByteArrayObject` همیشه یک بایت خالی (null) اضافی در " | ||
| 42 | - "پایان برای سازگاری با رشتههای C خاتمهیافتهبهخالی (null terminated) شامل " | ||
| 43 | - "میشود. این بایت اضافی در :c:func:`PyByteArray_Size` و نه در آرگومانهای " | ||
| 44 | - "*len* توابع زیر شمارش میشود." | ||
| 33 | + msgid "The internal buffer of :c:type:`PyByteArrayObject` always includes an extra trailing null byte for compatibility with null terminated C strings. This extra byte is not counted in :c:func:`PyByteArray_Size` nor in the *len* arguments of the functions below." | ||
| 34 | + msgstr "بافر داخلی :c:type:`PyByteArrayObject` همیشه یک بایت خالی (null) اضافی در پایان برای سازگاری با رشتههای C خاتمهیافتهبهخالی (null terminated) شامل میشود. این بایت اضافی در :c:func:`PyByteArray_Size` و نه در آرگومانهای *len* توابع زیر شمارش میشود." | ||
| 45 | 35 | ||
| 46 | - msgid "" | ||
| 47 | - "This instance of :c:type:`PyTypeObject` represents the Python bytearray " | ||
| 48 | - "type; it is the same object as :class:`bytearray` in the Python layer." | ||
| 49 | - msgstr "" | ||
| 50 | - "این نمونه از :c:type:`PyTypeObject` نشاندهندهی نوع bytearray پایتون است؛ " | ||
| 51 | - "این همان شیءای است که در لایهی پایتون با نام :class:`bytearray` شناخته " | ||
| 52 | - "میشود." | ||
| 36 | + msgid "This instance of :c:type:`PyTypeObject` represents the Python bytearray type; it is the same object as :class:`bytearray` in the Python layer." | ||
| 37 | + msgstr "این نمونه از :c:type:`PyTypeObject` نشاندهندهی نوع bytearray پایتون است؛ این همان شیءای است که در لایهی پایتون با نام :class:`bytearray` شناخته میشود." | ||
| 53 | 38 | ||
| 54 | 39 | msgid "Type check macros" | |
| 55 | 40 | msgstr "ماکروهای بررسی نوع" | |
| 56 | 41 | ||
| 57 | - msgid "" | ||
| 58 | - "Return true if the object *o* is a bytearray object or an instance of a " | ||
| 59 | - "subtype of the bytearray type. This function always succeeds." | ||
| 60 | - msgstr "" | ||
| 61 | - "اگر شیء *o* یک شیء bytearray یا نمونهای از زیرنوعی از نوع bytearray باشد، " | ||
| 62 | - "مقدار True را برمیگرداند. این تابع همیشه با موفقیت اجرا میشود." | ||
| 42 | + msgid "Return true if the object *o* is a bytearray object or an instance of a subtype of the bytearray type. This function always succeeds." | ||
| 43 | + msgstr "اگر شیء *o* یک شیء bytearray یا نمونهای از زیرنوعی از نوع bytearray باشد، مقدار True را برمیگرداند. این تابع همیشه با موفقیت اجرا میشود." | ||
| 63 | 44 | ||
| 64 | - msgid "" | ||
| 65 | - "Return true if the object *o* is a bytearray object, but not an instance of " | ||
| 66 | - "a subtype of the bytearray type. This function always succeeds." | ||
| 67 | - msgstr "" | ||
| 68 | - "اگر شیء *o* یک شیء bytearray باشد، اما نمونهای از زیرنوعی از نوع bytearray " | ||
| 69 | - "نباشد، مقدار True را برمیگرداند. این تابع همیشه با موفقیت اجرا میشود." | ||
| 45 | + msgid "Return true if the object *o* is a bytearray object, but not an instance of a subtype of the bytearray type. This function always succeeds." | ||
| 46 | + msgstr "اگر شیء *o* یک شیء bytearray باشد، اما نمونهای از زیرنوعی از نوع bytearray نباشد، مقدار True را برمیگرداند. این تابع همیشه با موفقیت اجرا میشود." | ||
| 70 | 47 | ||
| 71 | 48 | msgid "Direct API functions" | |
| 72 | 49 | msgstr "توابع مستقیم API" | |
| 73 | 50 | ||
| 74 | - msgid "" | ||
| 75 | - "Return a new bytearray object from any object, *o*, that implements the " | ||
| 76 | - ":ref:`buffer protocol <bufferobjects>`." | ||
| 77 | - msgstr "" | ||
| 78 | - "یک شیء bytearray جدید از هر شیء *o* که :ref:`پروتکل بافر <bufferobjects>` را" | ||
| 79 | - " پیادهسازی کرده است، برمیگرداند." | ||
| 51 | + msgid "Return a new bytearray object from any object, *o*, that implements the :ref:`buffer protocol <bufferobjects>`." | ||
| 52 | + msgstr "یک شیء bytearray جدید از هر شیء *o* که :ref:`پروتکل بافر <bufferobjects>` را پیادهسازی کرده است، برمیگرداند." | ||
| 80 | 53 | ||
| 81 | 54 | msgid "On failure, return ``NULL`` with an exception set." | |
| 82 | 55 | msgstr "در صورت شکست، مقدار ``NULL`` را با یک استثنا باز میگرداند." | |
| 83 | 56 | ||
| 84 | - msgid "" | ||
| 85 | - "If the object implements the buffer protocol, then the buffer must not be " | ||
| 86 | - "mutated while the bytearray object is being created." | ||
| 87 | - msgstr "" | ||
| 88 | - "اگر شیء پروتکل بافر را پیادهسازی کرده باشد، در حین ایجاد شیء bytearray " | ||
| 89 | - "نباید بافر تغییر داده شود." | ||
| 57 | + msgid "If the object implements the buffer protocol, then the buffer must not be mutated while the bytearray object is being created." | ||
| 58 | + msgstr "اگر شیء پروتکل بافر را پیادهسازی کرده باشد، در حین ایجاد شیء bytearray نباید بافر تغییر داده شود." | ||
| 90 | 59 | ||
| 91 | 60 | msgid "Create a new bytearray object from *string* and its length, *len*." | |
| 92 | 61 | msgstr "یک شیء bytearray جدید از *string* و طول آن *len*، ایجاد کنید." | |
| 93 | 62 | ||
| 94 | - msgid "" | ||
| 95 | - "Concat bytearrays *a* and *b* and return a new bytearray with the result." | ||
| 96 | - msgstr "" | ||
| 97 | - "bytearrayهای *a* و *b* را به هم متصل کنید و یک bytearray جدید با نتیجه " | ||
| 98 | - "بازگردانید." | ||
| 63 | + msgid "Concat bytearrays *a* and *b* and return a new bytearray with the result." | ||
| 64 | + msgstr "bytearrayهای *a* و *b* را به هم متصل کنید و یک bytearray جدید با نتیجه بازگردانید." | ||
| 99 | 65 | ||
| 100 | 66 | msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer." | |
| 101 | 67 | msgstr "اندازهی *bytearray* را پس از بررسی اشارهگر ``NULL`` بازگردانید." | |
| 102 | 68 | ||
| 103 | - msgid "" | ||
| 104 | - "Return the contents of *bytearray* as a char array after checking for a " | ||
| 105 | - "``NULL`` pointer. The returned array always has an extra null byte " | ||
| 106 | - "appended." | ||
| 107 | - msgstr "" | ||
| 108 | - "محتوای *bytearray* را پس از بررسی اشارهگر ``NULL`` بهصورت یک آرایه " | ||
| 109 | - "نویسهای (char array) بازگردانید. آرایهی برگشتی همیشه دارای یک بایت null " | ||
| 110 | - "اضافی در انتها است." | ||
| 69 | + msgid "Return the contents of *bytearray* as a char array after checking for a ``NULL`` pointer. The returned array always has an extra null byte appended." | ||
| 70 | + msgstr "محتوای *bytearray* را پس از بررسی اشارهگر ``NULL`` بهصورت یک آرایه نویسهای (char array) بازگردانید. آرایهی برگشتی همیشه دارای یک بایت null اضافی در انتها است." | ||
| 111 | 71 | ||
| 112 | - msgid "" | ||
| 113 | - "It is not thread-safe to mutate the bytearray object while using the " | ||
| 114 | - "returned char array." | ||
| 115 | - msgstr "" | ||
| 116 | - "زمانی که از آرایهی نویسهای برگشتی استفاده میشود، تغییر دادن شیء bytearray" | ||
| 117 | - " ایمن از نظر ریسهها نیست." | ||
| 72 | + msgid "It is not thread-safe to mutate the bytearray object while using the returned char array." | ||
| 73 | + msgstr "زمانی که از آرایهی نویسهای برگشتی استفاده میشود، تغییر دادن شیء bytearray ایمن از نظر ریسهها نیست." | ||
| 118 | 74 | ||
| 119 | - msgid "" | ||
| 120 | - "Resize the internal buffer of *bytearray* to *len*. Failure is a ``-1`` " | ||
| 121 | - "return with an exception set." | ||
| 122 | - msgstr "" | ||
| 123 | - "بافر داخلی *bytearray* را به اندازهی *len* تغییر اندازه دهید. در صورت شکست،" | ||
| 124 | - " مقدار ``-1`` به همراه یک استثنا بازگردانده میشود." | ||
| 75 | + msgid "Resize the internal buffer of *bytearray* to *len*. Failure is a ``-1`` return with an exception set." | ||
| 76 | + msgstr "بافر داخلی *bytearray* را به اندازهی *len* تغییر اندازه دهید. در صورت شکست، مقدار ``-1`` به همراه یک استثنا بازگردانده میشود." | ||
| 125 | 77 | ||
| 126 | - msgid "" | ||
| 127 | - "A negative *len* will now result in an exception being set and -1 returned." | ||
| 128 | - msgstr "" | ||
| 129 | - "اکنون *len* منفی باعث میشود که یک استثنا تنظیم شده و مقدار -1 بازگردانده " | ||
| 130 | - "شود." | ||
| 78 | + msgid "A negative *len* will now result in an exception being set and -1 returned." | ||
| 79 | + msgstr "اکنون *len* منفی باعث میشود که یک استثنا تنظیم شده و مقدار -1 بازگردانده شود." | ||
| 131 | 80 | ||
| 132 | 81 | msgid "Macros" | |
| 133 | 82 | msgstr "ماکروها" | |
| 134 | 83 | ||
| 135 | 84 | msgid "These macros trade safety for speed and they don't check pointers." | |
| 136 | - msgstr "" | ||
| 137 | - "این ماکروها ایمنی را فدای سرعت میکنند و اشارهگرها را بررسی نمیکنند." | ||
| 85 | + msgstr "این ماکروها ایمنی را فدای سرعت میکنند و اشارهگرها را بررسی نمیکنند." | ||
| 138 | 86 | ||
| 139 | 87 | msgid "Similar to :c:func:`PyByteArray_AsString`, but without error checking." | |
| 140 | 88 | msgstr "مشابه :c:func:`PyByteArray_AsString`، اما بدون بررسی خطا." | |
| Back | FazBrowse Home | New Git URL |
0 commit comments