77# Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, 2017
88# i17obot <i17obot@rougeth.com>, 2021
99# Adorilson Bezerra <adorilson@gmail.com>, 2024
10- # Rafael Fontenelle <rffontenelle@gmail.com>, 2024
1110# Wagner Marques Oliveira <wagnermarques00@gmail.com>, 2025
11+ # Rafael Fontenelle <rffontenelle@gmail.com>, 2025
1212#
1313#, fuzzy
1414msgid ""
1515msgstr ""
1616"Project-Id-Version : Python 3.9\n "
1717"Report-Msgid-Bugs-To : \n "
18- "POT-Creation-Date : 2025-02-28 16:44 +0000\n "
18+ "POT-Creation-Date : 2025-06-27 17:24 +0000\n "
1919"PO-Revision-Date : 2017-02-16 23:05+0000\n "
20- "Last-Translator : Wagner Marques Oliveira <wagnermarques00 @gmail.com>, 2025\n "
20+ "Last-Translator : Rafael Fontenelle <rffontenelle @gmail.com>, 2025\n "
2121"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
2222"teams/5390/pt_BR/)\n "
2323"Language : pt_BR\n "
@@ -159,13 +159,19 @@ msgid ""
159159"version you need by specifying ``GetModuleHandleA`` or ``GetModuleHandleW`` "
160160"explicitly, and then call it with bytes or string objects respectively."
161161msgstr ""
162+ "*windll* não tenta selecionar um deles magicamente, você deve acessar a "
163+ "versão necessária especificando ``GetModuleHandleA`` ou ``GetModuleHandleW`` "
164+ "explicitamente e então chamá-lo com objetos bytes ou string, respectivamente."
162165
163166#: ../../library/ctypes.rst:123
164167msgid ""
165168"Sometimes, dlls export functions with names which aren't valid Python "
166169"identifiers, like ``\" ??2@YAPAXI@Z\" ``. In this case you have to use :func:"
167170"`getattr` to retrieve the function::"
168171msgstr ""
172+ "Às vezes, DLLs exportam funções com nomes que não são identificadores Python "
173+ "válidos, como ``\" ??2@YAPAXI@Z\" ``. Nesse caso, você precisa usar :func:"
174+ "`getattr` para recuperar a função::"
169175
170176#: ../../library/ctypes.rst:131
171177msgid ""
@@ -179,7 +185,7 @@ msgstr ""
179185
180186#: ../../library/ctypes.rst:148
181187msgid "Calling functions"
182- msgstr ""
188+ msgstr "Chamando funções "
183189
184190#: ../../library/ctypes.rst:150
185191msgid ""
@@ -200,19 +206,26 @@ msgid ""
200206":exc:`ValueError` is raised when you call an ``stdcall`` function with the "
201207"``cdecl`` calling convention, or vice versa::"
202208msgstr ""
209+ ":exc:`ValueError` é gerado quando você chama uma função ``stdcall`` com a "
210+ "convenção de chamada ``cdecl``, ou vice-versa::"
203211
204212#: ../../library/ctypes.rst:179
205213msgid ""
206214"To find out the correct calling convention you have to look into the C "
207215"header file or the documentation for the function you want to call."
208216msgstr ""
217+ "Para descobrir a convenção de chamada correta, você precisa consultar o "
218+ "arquivo de cabeçalho C ou a documentação da função que deseja chamar."
209219
210220#: ../../library/ctypes.rst:182
211221msgid ""
212222"On Windows, :mod:`ctypes` uses win32 structured exception handling to "
213223"prevent crashes from general protection faults when functions are called "
214224"with invalid argument values::"
215225msgstr ""
226+ "No Windows, :mod:`ctypes` usa o tratamento de exceções estruturado do win32 "
227+ "para evitar travamentos devido a falhas gerais de proteção quando funções "
228+ "são chamadas com valores de argumentos inválidos::"
216229
217230#: ../../library/ctypes.rst:192
218231msgid ""
@@ -221,6 +234,10 @@ msgid ""
221234"debugging crashes (e.g. from segmentation faults produced by erroneous C "
222235"library calls)."
223236msgstr ""
237+ "No entanto, existem maneiras suficientes de travar o Python com :mod:"
238+ "`ctypes`, então você deve ter cuidado de qualquer maneira. O módulo :mod:"
239+ "`faulthandler` pode ser útil na depuração de travamentos (por exemplo, de "
240+ "falhas de segmentação produzidas por chamadas errôneas da biblioteca C)."
224241
225242#: ../../library/ctypes.rst:197
226243msgid ""
0 commit comments