You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 04bf951
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -494,8 +494,8 @@ msgstr "آرگومان *optimize* سطح بهینهسازی کامپایلر
494
494
msgid"The optional argument *module* specifies the module name. It is needed to unambiguous :ref:`filter <warning-filter>` syntax warnings by module name."
495
495
msgstr"آرگومان اختیاری *module* نام ماژول را مشخص میکند. این آرگومان برای رفع ابهام در هشدارهای نحو (نحو :ref:`filter <warning-filter>`) بر اساس نام ماژول مورد نیاز است."
496
496
497
-
msgid"This function raises :exc:`SyntaxError` or :exc:`ValueError` if the compiled source is invalid."
498
-
msgstr"اگر کد منبع کامپایلشده نامعتبر باشد، این تابع استثنای :exc:`SyntaxError` یا :exc:`ValueError` پرتاب میکند."
497
+
msgid"This function raises :exc:`SyntaxError` if the compiled source is invalid, including a *source* containing a null character or that cannot be decoded; :exc:`ValueError` if *mode* or *flags* is invalid, or if a string *source* contains surrogate characters; :exc:`MemoryError` or :exc:`RecursionError` if *source* is too complex to parse or compile, for example an expression with many thousands of nested operators; and :exc:`OverflowError` if *source* is too large."
498
+
msgstr"این تابع :exc:`SyntaxError` را پرتاب میکند اگر منبعِ کامپایلشده نامعتبر باشد، از جمله یک *source* که حاوی نویسهی null است یا که قابل رمزگشایی نیست؛ :exc:`ValueError` اگر *حالت* یا *پرچمها* نامعتبر باشند، یا اگر یک رشته *source* حاوی نویسههای جایگزین باشد؛ :exc:`MemoryError` یا :exc:`RecursionError` اگر *source* برای تجزیه یا کامپایل بیش از حد پیچیده باشد، برای مثال یک عبارت با هزاران عملگر تو در تو؛ و :exc:`OverflowError` اگر *source* بیش از حد بزرگ باشد."
499
499
500
500
msgid"If you want to parse Python code into its AST representation, see :func:`ast.parse`."
501
501
msgstr"اگر میخواهید کد پایتون را به نمایش AST آن تجزیه کنید، به :func:`ast.parse` مراجعه کنید."
@@ -518,6 +518,9 @@ msgstr "پیش از این، هنگام برخورد با بایتهای ته
518
518
msgid"``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable support for top-level ``await``, ``async for``, and ``async with``."
519
519
msgstr"اکنون میتوان ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` را در پرچمها ارسال کرد تا از ``await``، ``async for`` و ``async with`` در سطح بالای کد (top-level) پشتیبانی شود."
520
520
521
+
msgid":exc:`SyntaxError` is raised instead of :exc:`ValueError` when null bytes are encountered in *source*."
522
+
msgstr"هنگامی که بایتهای تهی در *source* یافت شوند، :exc:`SyntaxError` بهجای :exc:`ValueError` پرتاب میشود."
523
+
521
524
msgid"Added the *module* parameter."
522
525
msgstr"پارامتر *module* اضافه شد."
523
526
@@ -1986,11 +1989,8 @@ msgstr "ایمپورت"
1986
1989
msgid"builtins"
1987
1990
msgstr"توکارها"
1988
1991
1989
-
#~ msgid "This function raises :exc:`SyntaxError` if the compiled source is invalid, including a *source* containing a null character or that cannot be decoded; :exc:`ValueError` if *mode* or *flags* is invalid, or if a string *source* contains surrogate characters; :exc:`MemoryError` or :exc:`RecursionError` if *source* is too complex to parse or compile, for example an expression with many thousands of nested operators; and :exc:`OverflowError` if *source* is too large."
1990
-
#~ msgstr "این تابع :exc:`SyntaxError` را پرتاب میکند اگر منبعِ کامپایلشده نامعتبر باشد، از جمله یک *source* که حاوی نویسهی null است یا که قابل رمزگشایی نیست؛ :exc:`ValueError` اگر *حالت* یا *پرچمها* نامعتبر باشند، یا اگر یک رشته *source* حاوی نویسههای جایگزین باشد؛ :exc:`MemoryError` یا :exc:`RecursionError` اگر *source* برای تجزیه یا کامپایل بیش از حد پیچیده باشد، برای مثال یک عبارت با هزاران عملگر تو در تو؛ و :exc:`OverflowError` اگر *source* بیش از حد بزرگ باشد."
1991
-
1992
-
#~ msgid ":exc:`SyntaxError` is raised instead of :exc:`ValueError` when null bytes are encountered in *source*."
1993
-
#~ msgstr "هنگامی که بایتهای تهی در *source* یافت شوند، :exc:`SyntaxError` بهجای :exc:`ValueError` پرتاب میشود."
1992
+
#~ msgid "This function raises :exc:`SyntaxError` or :exc:`ValueError` if the compiled source is invalid."
1993
+
#~ msgstr "اگر کد منبع کامپایلشده نامعتبر باشد، این تابع استثنای :exc:`SyntaxError` یا :exc:`ValueError` پرتاب میکند."
1994
1994
1995
1995
#~ msgid "``'strict'`` to raise a :exc:`ValueError` exception if there is an encoding error. The default value of ``None`` has the same effect."
1996
1996
#~ msgstr "``'strict'`` در صورت بروز خطای کدگذاری، استثنای :exc:`ValueError` پرتاب میکند. مقدار پیشفرض ``None`` نیز همین رفتار را دارد."
msgid"Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start, stop, and step indices from the slice object *slice* assuming a sequence of length *length*, and store the length of the slice in *slicelength*. Out of bounds indices are clipped in a manner consistent with the handling of normal slices."
53
+
#,fuzzy
54
+
#| msgid "Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start, stop, and step indices from the slice object *slice* assuming a sequence of length *length*, and store the length of the slice in *slicelength*. Out of bounds indices are clipped in a manner consistent with the handling of normal slices."
55
+
msgid"Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start, stop, and step indices from the slice object *slice* assuming a sequence of length *length*, and store the length of the slice in *slicelength*. Out of bounds indices are clipped in a manner consistent with the handling of normal slices. *length* must not be negative."
54
56
msgstr"جایگزین قابل استفاده برای :c:func:`PySlice_GetIndices`. شاخصهای شروع، پایان و گام را از شیء اسلایس *slice* با فرض یک دنباله با طول *length* بازیابی کنید، و طول اسلایس را در *slicelength* ذخیره کنید. شاخصهای خارج از کران به روشی سازگار با مدیریت اسلایسهای عادی برش داده میشوند."
55
57
56
58
msgid"Return ``0`` on success and ``-1`` on error with an exception set."
@@ -97,6 +99,9 @@ msgstr "در صورت خطا ``-1`` به همراه استثنای تنظیم
97
99
msgid"Adjust start/end slice indices assuming a sequence of the specified length. Out of bounds indices are clipped in a manner consistent with the handling of normal slices."
98
100
msgstr"اندیسهای شروع/پایان اسلایس را با فرض دنبالهای به طول مشخصشده تنظیم میکند. اندیسهای خارج از محدوده به شکلی سازگار با نحوهی برخورد با اسلایسهای معمولی محدود میشوند."
99
101
102
+
msgid"*length* must not be negative. *step* must not be zero and must not be less than ``-PY_SSIZE_T_MAX``, as guaranteed by :c:func:`PySlice_Unpack`."
103
+
msgstr"*length* نباید منفی باشد. *step* نباید صفر باشد و نباید کمتر از ``-PY_SSIZE_T_MAX`` باشد؛ این موضوع توسط :c:func:`PySlice_Unpack` تضمین شده است."
104
+
100
105
msgid"Return the length of the slice. Always successful. Doesn't call Python code."
101
106
msgstr"طول اسلایس را برمیگرداند. همیشه موفق است. کد پایتون را فراخوانی نمیکند."
102
107
@@ -111,6 +116,3 @@ msgstr "شیء ``Ellipsis`` پایتون. این شیء هیچ متدی ندار
111
116
112
117
msgid":c:data:`Py_Ellipsis` is immortal."
113
118
msgstr":c:data:`Py_Ellipsis` نامیرا است."
114
-
115
-
#~ msgid "*length* must not be negative. *step* must not be zero and must not be less than ``-PY_SSIZE_T_MAX``, as guaranteed by :c:func:`PySlice_Unpack`."
116
-
#~ msgstr "*length* نباید منفی باشد. *step* نباید صفر باشد و نباید کمتر از ``-PY_SSIZE_T_MAX`` باشد؛ این موضوع توسط :c:func:`PySlice_Unpack` تضمین شده است."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -65,7 +65,9 @@ msgstr "اشیای مفسر تعاملی"
65
65
msgid"Compile and run some source in the interpreter. Arguments are the same as for :func:`compile_command`; the default for *filename* is ``'<input>'``, and for *symbol* is ``'single'``. One of several things can happen:"
66
66
msgstr"مقداری کد منبع را در مفسر کامپایل و اجرا میکند. آرگومانها همان آرگومانهای :func:`compile_command` هستند؛ پیشفرض برای *filename* برابر ``'<input>'`` و برای *symbol* برابر ``'single'`` است. یکی از چند حالت ممکن است رخ دهد:"
67
67
68
-
msgid"The input is incorrect; :func:`compile_command` raised an exception (:exc:`SyntaxError` or :exc:`OverflowError`). A syntax traceback will be printed by calling the :meth:`showsyntaxerror` method. :meth:`runsource` returns ``False``."
68
+
#,fuzzy
69
+
#| msgid "The input is incorrect; :func:`compile_command` raised an exception (:exc:`SyntaxError` or :exc:`OverflowError`). A syntax traceback will be printed by calling the :meth:`showsyntaxerror` method. :meth:`runsource` returns ``False``."
70
+
msgid"The input is incorrect; :func:`compile_command` raised an exception (usually :exc:`SyntaxError`). A syntax traceback will be printed by calling the :meth:`showsyntaxerror` method. :meth:`runsource` returns ``False``."
69
71
msgstr"ورودی نادرست است؛ :func:`compile_command` یک استثنا (:exc:`SyntaxError` یا :exc:`OverflowError`) را بالا آورد. یک ردگیری نحوی با فراخوانی متد :meth:`showsyntaxerror` چاپ خواهد شد. :meth:`runsource` مقدار ``False`` را برمیگرداند."
70
72
71
73
msgid"The input is incomplete, and more input is required; :func:`compile_command` returned ``None``. :meth:`runsource` returns ``True``."
0 commit comments