@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.14\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2025-05-23 14:20 +0000\n "
15+ "POT-Creation-Date : 2025-05-30 14:22 +0000\n "
1616"PO-Revision-Date : 2021-06-28 00:49+0000\n "
1717"Last-Translator : Danial Behzadi <dani.behzi@ubuntu.com>, 2025\n "
1818"Language-Team : Persian (https://app.transifex.com/python-doc/teams/5390/ "
@@ -197,15 +197,15 @@ msgstr ""
197197#: ../../c-api/intro.rst:129
198198msgid ""
199199"static struct PyModuleDef spam_module = {\n"
200- " PyModuleDef_HEAD_INIT,\n"
200+ " .m_base = PyModuleDef_HEAD_INIT,\n"
201201" .m_name = \" spam\" ,\n"
202202" ...\n"
203203"};\n"
204204"\n"
205205"PyMODINIT_FUNC\n"
206206"PyInit_spam(void)\n"
207207"{\n"
208- " return PyModule_Create (&spam_module);\n"
208+ " return PyModuleDef_Init (&spam_module);\n"
209209"}"
210210msgstr ""
211211
@@ -1025,6 +1025,80 @@ msgid ""
10251025"distribution for more detailed information."
10261026msgstr ""
10271027
1028+ #: ../../c-api/intro.rst:852
1029+ msgid "Recommended third party tools"
1030+ msgstr ""
1031+
1032+ #: ../../c-api/intro.rst:854
1033+ msgid ""
1034+ "The following third party tools offer both simpler and more sophisticated "
1035+ "approaches to creating C, C++ and Rust extensions for Python:"
1036+ msgstr ""
1037+
1038+ #: ../../c-api/intro.rst:857
1039+ msgid "`Cython <https://cython.org/>`_"
1040+ msgstr ""
1041+
1042+ #: ../../c-api/intro.rst:858
1043+ msgid "`cffi <https://cffi.readthedocs.io>`_"
1044+ msgstr ""
1045+
1046+ #: ../../c-api/intro.rst:859
1047+ msgid "`HPy <https://hpyproject.org/>`_"
1048+ msgstr ""
1049+
1050+ #: ../../c-api/intro.rst:860
1051+ msgid "`nanobind <https://github.com/wjakob/nanobind>`_ (C++)"
1052+ msgstr ""
1053+
1054+ #: ../../c-api/intro.rst:861
1055+ msgid "`Numba <https://numba.pydata.org/>`_"
1056+ msgstr ""
1057+
1058+ #: ../../c-api/intro.rst:862
1059+ msgid "`pybind11 <https://pybind11.readthedocs.io/>`_ (C++)"
1060+ msgstr ""
1061+
1062+ #: ../../c-api/intro.rst:863
1063+ msgid "`PyO3 <https://pyo3.rs/>`_ (Rust)"
1064+ msgstr ""
1065+
1066+ #: ../../c-api/intro.rst:864
1067+ msgid "`SWIG <https://www.swig.org>`_"
1068+ msgstr ""
1069+
1070+ #: ../../c-api/intro.rst:866
1071+ msgid ""
1072+ "Using tools such as these can help avoid writing code that is tightly bound "
1073+ "to a particular version of CPython, avoid reference counting errors, and "
1074+ "focus more on your own code than on using the CPython API. In general, new "
1075+ "versions of Python can be supported by updating the tool, and your code will "
1076+ "often use newer and more efficient APIs automatically. Some tools also "
1077+ "support compiling for other implementations of Python from a single set of "
1078+ "sources."
1079+ msgstr ""
1080+
1081+ #: ../../c-api/intro.rst:873
1082+ msgid ""
1083+ "These projects are not supported by the same people who maintain Python, and "
1084+ "issues need to be raised with the projects directly. Remember to check that "
1085+ "the project is still maintained and supported, as the list above may become "
1086+ "outdated."
1087+ msgstr ""
1088+
1089+ #: ../../c-api/intro.rst:880
1090+ msgid ""
1091+ "`Python Packaging User Guide: Binary Extensions <https://packaging.python."
1092+ "org/guides/packaging-binary-extensions/>`_"
1093+ msgstr ""
1094+
1095+ #: ../../c-api/intro.rst:881
1096+ msgid ""
1097+ "The Python Packaging User Guide not only covers several available tools that "
1098+ "simplify the creation of binary extensions, but also discusses the various "
1099+ "reasons why creating an extension module may be desirable in the first place."
1100+ msgstr ""
1101+
10281102#: ../../c-api/intro.rst:298
10291103msgid "object"
10301104msgstr ""
0 commit comments