|
10 | 10 | # felipe caridade fernandes <caridade500@gmail.com>, 2021 |
11 | 11 | # Marco Rougeth <marco@rougeth.com>, 2023 |
12 | 12 | # Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, 2023 |
13 | | -# Rafael Fontenelle <rffontenelle@gmail.com>, 2025 |
14 | 13 | # Adorilson Bezerra <adorilson@gmail.com>, 2025 |
| 14 | +# Rafael Fontenelle <rffontenelle@gmail.com>, 2025 |
15 | 15 | # |
16 | 16 | #, fuzzy |
17 | 17 | msgid "" |
18 | 18 | msgstr "" |
19 | 19 | "Project-Id-Version: Python 3.14\n" |
20 | 20 | "Report-Msgid-Bugs-To: \n" |
21 | | -"POT-Creation-Date: 2025-05-08 02:53-0300\n" |
| 21 | +"POT-Creation-Date: 2025-05-30 14:22+0000\n" |
22 | 22 | "PO-Revision-Date: 2021-06-28 00:49+0000\n" |
23 | | -"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2025\n" |
| 23 | +"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n" |
24 | 24 | "Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/" |
25 | 25 | "teams/5390/pt_BR/)\n" |
26 | 26 | "MIME-Version: 1.0\n" |
@@ -281,28 +281,17 @@ msgstr "" |
281 | 281 | #: ../../c-api/intro.rst:129 |
282 | 282 | msgid "" |
283 | 283 | "static struct PyModuleDef spam_module = {\n" |
284 | | -" PyModuleDef_HEAD_INIT,\n" |
| 284 | +" .m_base = PyModuleDef_HEAD_INIT,\n" |
285 | 285 | " .m_name = \"spam\",\n" |
286 | 286 | " ...\n" |
287 | 287 | "};\n" |
288 | 288 | "\n" |
289 | 289 | "PyMODINIT_FUNC\n" |
290 | 290 | "PyInit_spam(void)\n" |
291 | 291 | "{\n" |
292 | | -" return PyModule_Create(&spam_module);\n" |
| 292 | +" return PyModuleDef_Init(&spam_module);\n" |
293 | 293 | "}" |
294 | 294 | msgstr "" |
295 | | -"static struct PyModuleDef spam_module = {\n" |
296 | | -" PyModuleDef_HEAD_INIT,\n" |
297 | | -" .m_name = \"spam\",\n" |
298 | | -" ...\n" |
299 | | -"};\n" |
300 | | -"\n" |
301 | | -"PyMODINIT_FUNC\n" |
302 | | -"PyInit_spam(void)\n" |
303 | | -"{\n" |
304 | | -" return PyModule_Create(&spam_module);\n" |
305 | | -"}" |
306 | 295 |
|
307 | 296 | #: ../../c-api/intro.rst:144 |
308 | 297 | msgid "Return the absolute value of ``x``." |
@@ -1375,6 +1364,86 @@ msgstr "" |
1375 | 1364 | "Consulte :file:`Misc/SpecialBuilds.txt` na distribuição do código-fonte " |
1376 | 1365 | "Python para informações mais detalhadas." |
1377 | 1366 |
|
| 1367 | +#: ../../c-api/intro.rst:852 |
| 1368 | +msgid "Recommended third party tools" |
| 1369 | +msgstr "Ferramentas de terceiros recomendadas" |
| 1370 | + |
| 1371 | +#: ../../c-api/intro.rst:854 |
| 1372 | +msgid "" |
| 1373 | +"The following third party tools offer both simpler and more sophisticated " |
| 1374 | +"approaches to creating C, C++ and Rust extensions for Python:" |
| 1375 | +msgstr "" |
| 1376 | + |
| 1377 | +#: ../../c-api/intro.rst:857 |
| 1378 | +msgid "`Cython <https://cython.org/>`_" |
| 1379 | +msgstr "" |
| 1380 | + |
| 1381 | +#: ../../c-api/intro.rst:858 |
| 1382 | +msgid "`cffi <https://cffi.readthedocs.io>`_" |
| 1383 | +msgstr "" |
| 1384 | + |
| 1385 | +#: ../../c-api/intro.rst:859 |
| 1386 | +msgid "`HPy <https://hpyproject.org/>`_" |
| 1387 | +msgstr "" |
| 1388 | + |
| 1389 | +#: ../../c-api/intro.rst:860 |
| 1390 | +msgid "`nanobind <https://github.com/wjakob/nanobind>`_ (C++)" |
| 1391 | +msgstr "" |
| 1392 | + |
| 1393 | +#: ../../c-api/intro.rst:861 |
| 1394 | +msgid "`Numba <https://numba.pydata.org/>`_" |
| 1395 | +msgstr "" |
| 1396 | + |
| 1397 | +#: ../../c-api/intro.rst:862 |
| 1398 | +msgid "`pybind11 <https://pybind11.readthedocs.io/>`_ (C++)" |
| 1399 | +msgstr "" |
| 1400 | + |
| 1401 | +#: ../../c-api/intro.rst:863 |
| 1402 | +msgid "`PyO3 <https://pyo3.rs/>`_ (Rust)" |
| 1403 | +msgstr "" |
| 1404 | + |
| 1405 | +#: ../../c-api/intro.rst:864 |
| 1406 | +msgid "`SWIG <https://www.swig.org>`_" |
| 1407 | +msgstr "" |
| 1408 | + |
| 1409 | +#: ../../c-api/intro.rst:866 |
| 1410 | +msgid "" |
| 1411 | +"Using tools such as these can help avoid writing code that is tightly bound " |
| 1412 | +"to a particular version of CPython, avoid reference counting errors, and " |
| 1413 | +"focus more on your own code than on using the CPython API. In general, new " |
| 1414 | +"versions of Python can be supported by updating the tool, and your code will " |
| 1415 | +"often use newer and more efficient APIs automatically. Some tools also " |
| 1416 | +"support compiling for other implementations of Python from a single set of " |
| 1417 | +"sources." |
| 1418 | +msgstr "" |
| 1419 | + |
| 1420 | +#: ../../c-api/intro.rst:873 |
| 1421 | +msgid "" |
| 1422 | +"These projects are not supported by the same people who maintain Python, and " |
| 1423 | +"issues need to be raised with the projects directly. Remember to check that " |
| 1424 | +"the project is still maintained and supported, as the list above may become " |
| 1425 | +"outdated." |
| 1426 | +msgstr "" |
| 1427 | + |
| 1428 | +#: ../../c-api/intro.rst:880 |
| 1429 | +msgid "" |
| 1430 | +"`Python Packaging User Guide: Binary Extensions <https://packaging.python." |
| 1431 | +"org/guides/packaging-binary-extensions/>`_" |
| 1432 | +msgstr "" |
| 1433 | +"`Guia do Usuário de Empacotamento do Python: Extensões Binárias <https://" |
| 1434 | +"packaging.python.org/guides/packaging-binary-extensions/>`_" |
| 1435 | + |
| 1436 | +#: ../../c-api/intro.rst:881 |
| 1437 | +msgid "" |
| 1438 | +"The Python Packaging User Guide not only covers several available tools that " |
| 1439 | +"simplify the creation of binary extensions, but also discusses the various " |
| 1440 | +"reasons why creating an extension module may be desirable in the first place." |
| 1441 | +msgstr "" |
| 1442 | +"O Guia do Usuário de Empacotamento do Python não abrange apenas várias " |
| 1443 | +"ferramentas disponíveis que simplificam a criação de extensões binárias, mas " |
| 1444 | +"também discute os vários motivos pelos quais a criação de um módulo de " |
| 1445 | +"extensão pode ser desejável em primeiro lugar." |
| 1446 | + |
1378 | 1447 | #: ../../c-api/intro.rst:298 |
1379 | 1448 | msgid "object" |
1380 | 1449 | msgstr "objeto" |
|
0 commit comments