@@ -20,7 +20,7 @@ msgstr ""
2020
2121#: ../../c-api/bool.rst:6
2222msgid "Boolean Objects"
23- msgstr ""
23+ msgstr "اشیاء بولی "
2424
2525#: ../../c-api/bool.rst:8
2626msgid ""
@@ -29,49 +29,63 @@ msgid ""
2929"normal creation and deletion functions don't apply to booleans. The "
3030"following macros are available, however."
3131msgstr ""
32+ "مقدارهای بولین (Boolean) در پایتون بهعنوان زیرکلاسی از اعداد صحیح پیادهسازی شدهاند. "
33+ "تنها دو مقدار بولین وجود دارد: :c:data:`Py_False` و :c:data:`Py_True`. بنابراین، "
34+ "توابع معمول ایجاد و حذف برای مقدارهای بولین کاربرد ندارند. با این حال، "
35+ "ماکروهای زیر در دسترس هستند."
3236
3337#: ../../c-api/bool.rst:16
3438msgid ""
3539"This instance of :c:type:`PyTypeObject` represents the Python boolean type; "
3640"it is the same object as :class:`bool` in the Python layer."
3741msgstr ""
42+ "این نمونه از :c:type:`PyTypeObject` نوع دادهی بولین پایتون را نشان میدهد؛ "
43+ "این همان شیءای است که در لایهی پایتون با نام :class:`bool` شناخته میشود."
3844
3945#: ../../c-api/bool.rst:22
4046msgid ""
4147"Return true if *o* is of type :c:data:`PyBool_Type`. This function always "
4248"succeeds."
4349msgstr ""
50+ "اگر *o* از نوع :c:data:`PyBool_Type` باشد، مقدار ``true`` را برمیگرداند. "
51+ "این تابع همیشه با موفقیت اجرا میشود."
4452
4553#: ../../c-api/bool.rst:28
4654msgid ""
4755"The Python ``False`` object. This object has no methods and "
4856"is :term:`immortal`."
4957msgstr ""
58+ "شیء ``False`` در پایتون. این شیء هیچ متدی ندارد و "
59+ ":term:`جاودان (immortal)` است."
5060
5161#: ../../c-api/bool.rst:31
5262msgid ":c:data:`Py_False` is :term:`immortal`."
53- msgstr ""
63+ msgstr ":c:data:`Py_False` :term:`جاودان (immortal)` است. "
5464
5565#: ../../c-api/bool.rst:37
5666msgid ""
5767"The Python ``True`` object. This object has no methods and "
5868"is :term:`immortal`."
5969msgstr ""
70+ "شیء ``True`` در پایتون. این شیء هیچ متدی ندارد و "
71+ ":term:`جاودان (immortal)` است."
6072
6173#: ../../c-api/bool.rst:40
6274msgid ":c:data:`Py_True` is :term:`immortal`."
63- msgstr ""
75+ msgstr ":c:data:`Py_True` :term:`جاودان (immortal)` است. "
6476
6577#: ../../c-api/bool.rst:46
6678msgid "Return :c:data:`Py_False` from a function."
67- msgstr ""
79+ msgstr ":c:data:`Py_False` را از یک تابع برگردانید. "
6880
6981#: ../../c-api/bool.rst:51
7082msgid "Return :c:data:`Py_True` from a function."
71- msgstr ""
83+ msgstr ":c:data:`Py_True` را از یک تابع برگردانید. "
7284
7385#: ../../c-api/bool.rst:56
7486msgid ""
7587"Return :c:data:`Py_True` or :c:data:`Py_False`, depending on the truth value "
7688"of *v*."
7789msgstr ""
90+ ":c:data:`Py_True` یا :c:data:`Py_False` را، بسته به مقدار صحت (truth value) "
91+ "*v*، برگردانید."
0 commit comments