@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.13\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2025-04-25 14:19 +0000\n "
14
+ "POT-Creation-Date : 2025-05-30 14:58 +0000\n "
15
15
"PO-Revision-Date : 2025-05-08 05:08+0000\n "
16
16
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
17
17
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -260,28 +260,17 @@ msgstr ""
260
260
#: ../../c-api/intro.rst:119
261
261
msgid ""
262
262
"static struct PyModuleDef spam_module = {\n"
263
- " PyModuleDef_HEAD_INIT,\n"
263
+ " .m_base = PyModuleDef_HEAD_INIT,\n"
264
264
" .m_name = \" spam\" ,\n"
265
265
" ...\n"
266
266
"};\n"
267
267
"\n"
268
268
"PyMODINIT_FUNC\n"
269
269
"PyInit_spam(void)\n"
270
270
"{\n"
271
- " return PyModule_Create (&spam_module);\n"
271
+ " return PyModuleDef_Init (&spam_module);\n"
272
272
"}"
273
273
msgstr ""
274
- "static struct PyModuleDef spam_module = {\n"
275
- " PyModuleDef_HEAD_INIT,\n"
276
- " .m_name = \" spam\" ,\n"
277
- " ...\n"
278
- "};\n"
279
- "\n"
280
- "PyMODINIT_FUNC\n"
281
- "PyInit_spam(void)\n"
282
- "{\n"
283
- " return PyModule_Create(&spam_module);\n"
284
- "}"
285
274
286
275
#: ../../c-api/intro.rst:134
287
276
msgid "Return the absolute value of ``x``."
@@ -1354,6 +1343,86 @@ msgstr ""
1354
1343
"Consulte :file:`Misc/SpecialBuilds.txt` na distribuição do código-fonte "
1355
1344
"Python para informações mais detalhadas."
1356
1345
1346
+ #: ../../c-api/intro.rst:842
1347
+ msgid "Recommended third party tools"
1348
+ msgstr "Ferramentas de terceiros recomendadas"
1349
+
1350
+ #: ../../c-api/intro.rst:844
1351
+ msgid ""
1352
+ "The following third party tools offer both simpler and more sophisticated "
1353
+ "approaches to creating C, C++ and Rust extensions for Python:"
1354
+ msgstr ""
1355
+
1356
+ #: ../../c-api/intro.rst:847
1357
+ msgid "`Cython <https://cython.org/>`_"
1358
+ msgstr ""
1359
+
1360
+ #: ../../c-api/intro.rst:848
1361
+ msgid "`cffi <https://cffi.readthedocs.io>`_"
1362
+ msgstr ""
1363
+
1364
+ #: ../../c-api/intro.rst:849
1365
+ msgid "`HPy <https://hpyproject.org/>`_"
1366
+ msgstr ""
1367
+
1368
+ #: ../../c-api/intro.rst:850
1369
+ msgid "`nanobind <https://github.com/wjakob/nanobind>`_ (C++)"
1370
+ msgstr ""
1371
+
1372
+ #: ../../c-api/intro.rst:851
1373
+ msgid "`Numba <https://numba.pydata.org/>`_"
1374
+ msgstr ""
1375
+
1376
+ #: ../../c-api/intro.rst:852
1377
+ msgid "`pybind11 <https://pybind11.readthedocs.io/>`_ (C++)"
1378
+ msgstr ""
1379
+
1380
+ #: ../../c-api/intro.rst:853
1381
+ msgid "`PyO3 <https://pyo3.rs/>`_ (Rust)"
1382
+ msgstr ""
1383
+
1384
+ #: ../../c-api/intro.rst:854
1385
+ msgid "`SWIG <https://www.swig.org>`_"
1386
+ msgstr ""
1387
+
1388
+ #: ../../c-api/intro.rst:856
1389
+ msgid ""
1390
+ "Using tools such as these can help avoid writing code that is tightly bound "
1391
+ "to a particular version of CPython, avoid reference counting errors, and "
1392
+ "focus more on your own code than on using the CPython API. In general, new "
1393
+ "versions of Python can be supported by updating the tool, and your code will "
1394
+ "often use newer and more efficient APIs automatically. Some tools also "
1395
+ "support compiling for other implementations of Python from a single set of "
1396
+ "sources."
1397
+ msgstr ""
1398
+
1399
+ #: ../../c-api/intro.rst:863
1400
+ msgid ""
1401
+ "These projects are not supported by the same people who maintain Python, and "
1402
+ "issues need to be raised with the projects directly. Remember to check that "
1403
+ "the project is still maintained and supported, as the list above may become "
1404
+ "outdated."
1405
+ msgstr ""
1406
+
1407
+ #: ../../c-api/intro.rst:870
1408
+ msgid ""
1409
+ "`Python Packaging User Guide: Binary Extensions <https://packaging.python."
1410
+ "org/guides/packaging-binary-extensions/>`_"
1411
+ msgstr ""
1412
+ "`Guia do Usuário de Empacotamento do Python: Extensões Binárias <https://"
1413
+ "packaging.python.org/guides/packaging-binary-extensions/>`_"
1414
+
1415
+ #: ../../c-api/intro.rst:871
1416
+ msgid ""
1417
+ "The Python Packaging User Guide not only covers several available tools that "
1418
+ "simplify the creation of binary extensions, but also discusses the various "
1419
+ "reasons why creating an extension module may be desirable in the first place."
1420
+ msgstr ""
1421
+ "O Guia do Usuário de Empacotamento do Python não abrange apenas várias "
1422
+ "ferramentas disponíveis que simplificam a criação de extensões binárias, mas "
1423
+ "também discute os vários motivos pelos quais a criação de um módulo de "
1424
+ "extensão pode ser desejável em primeiro lugar."
1425
+
1357
1426
#: ../../c-api/intro.rst:288
1358
1427
msgid "object"
1359
1428
msgstr "objeto"
0 commit comments