@@ -207,27 +207,27 @@ msgstr ""
207207
208208#: ../../c-api/function.rst:148
209209msgid "Enumeration of possible function watcher events:"
210- msgstr ""
210+ msgstr "Enumeração de possíveis eventos do observador de funções: "
211211
212212#: ../../c-api/function.rst:150
213213msgid "``PyFunction_EVENT_CREATE``"
214- msgstr ""
214+ msgstr "``PyFunction_EVENT_CREATE`` "
215215
216216#: ../../c-api/function.rst:151
217217msgid "``PyFunction_EVENT_DESTROY``"
218- msgstr ""
218+ msgstr "``PyFunction_EVENT_DESTROY`` "
219219
220220#: ../../c-api/function.rst:152
221221msgid "``PyFunction_EVENT_MODIFY_CODE``"
222- msgstr ""
222+ msgstr "``PyFunction_EVENT_MODIFY_CODE`` "
223223
224224#: ../../c-api/function.rst:153
225225msgid "``PyFunction_EVENT_MODIFY_DEFAULTS``"
226- msgstr ""
226+ msgstr "``PyFunction_EVENT_MODIFY_DEFAULTS`` "
227227
228228#: ../../c-api/function.rst:154
229229msgid "``PyFunction_EVENT_MODIFY_KWDEFAULTS``"
230- msgstr ""
230+ msgstr "``PyFunction_EVENT_MODIFY_KWDEFAULTS`` "
231231
232232#: ../../c-api/function.rst:161
233233msgid "Type of a function watcher callback function."
@@ -264,6 +264,14 @@ msgid ""
264264"behavior depending on optimization decisions, it does not change the "
265265"semantics of the Python code being executed."
266266msgstr ""
267+ "Se *event* for ``PyFunction_EVENT_CREATE``, a função de retorno será "
268+ "invocada após *func* ter sido completamente inicializada. Caso contrário, a "
269+ "função de retorno será invocada antes de modificar *func*, então o estado "
270+ "anterior de *func* poderá ser inspecionado. O ambiente de execução pode "
271+ "otimizar a criação de objetos função, quando possível, ao ignorá-las. Nesses "
272+ "casos, nenhum evento será emitido. Apesar de decisões de otimização criarem "
273+ "diferenças de comportamento em tempo de execução, elas não mudam a semântica "
274+ "do código Python sendo executado."
267275
268276#: ../../c-api/function.rst:180
269277msgid ""
0 commit comments