# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # python-doc bot, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-09-16 17:23+0000\n" "PO-Revision-Date: 2025-09-16 00:00+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/" "teams/5390/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pt_BR\n" "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % " "1000000 == 0 ? 1 : 2;\n" #: ../../c-api/reflection.rst:6 msgid "Reflection" msgstr "Reflexão" #: ../../c-api/reflection.rst:12 msgid "Use :c:func:`PyEval_GetFrameBuiltins` instead." msgstr "Use :c:func:`PyEval_GetFrameBuiltins`." #: ../../c-api/reflection.rst:14 ../../c-api/reflection.rst:66 msgid "" "Return a dictionary of the builtins in the current execution frame, or the " "interpreter of the thread state if no frame is currently executing." msgstr "" "Retorna um dicionário dos componentes embutidos no quadro de execução atual " "ou o interpretador do estado da thread, se nenhum quadro estiver em execução " "no momento." #: ../../c-api/reflection.rst:22 msgid "" "Use either :c:func:`PyEval_GetFrameLocals` to obtain the same behaviour as " "calling :func:`locals` in Python code, or else call :c:func:" "`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame` to access " "the :attr:`~frame.f_locals` attribute of the currently executing frame." msgstr "" "Use :c:func:`PyEval_GetFrameLocals` para obter o mesmo comportamento que " "chamar :func:`locals` no código Python, ou então chame :c:func:" "`PyFrame_GetLocals` no resultado de :c:func:`PyEval_GetFrame` para acessar o " "atributo :attr:`~frame.f_locals` do quadro atualmente em execução." #: ../../c-api/reflection.rst:27 msgid "" "Return a mapping providing access to the local variables in the current " "execution frame, or ``NULL`` if no frame is currently executing." msgstr "" "Retorna um mapeamento fornecendo acesso às variáveis locais no quadro de " "execução atual ou ``NULL`` se nenhum quadro estiver sendo executado no " "momento." #: ../../c-api/reflection.rst:30 msgid "" "Refer to :func:`locals` for details of the mapping returned at different " "scopes." msgstr "" "Consulte :func:`locals` para detalhes do mapeamento retornado em diferentes " "escopos." #: ../../c-api/reflection.rst:32 msgid "" "As this function returns a :term:`borrowed reference`, the dictionary " "returned for :term:`optimized scopes ` is cached on the " "frame object and will remain alive as long as the frame object does. Unlike :" "c:func:`PyEval_GetFrameLocals` and :func:`locals`, subsequent calls to this " "function in the same frame will update the contents of the cached dictionary " "to reflect changes in the state of the local variables rather than returning " "a new snapshot." msgstr "" "Como esta função retorna uma :term:`referência emprestada`, o dicionário " "retornado para :term:`escopos otimizados ` é armazenado em " "cache no objeto frame e permanecerá ativo enquanto o objeto frame o fizer. " "Ao contrário de :c:func:`PyEval_GetFrameLocals` e :func:`locals`, chamadas " "subsequentes para esta função no mesmo quadro atualizarão o conteúdo do " "dicionário em cache para refletir as mudanças no estado das variáveis locais " "em vez de retornar um novo snapshot." #: ../../c-api/reflection.rst:39 msgid "" "As part of :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals`, and :" "attr:`FrameType.f_locals ` no longer make use of the shared " "cache dictionary. Refer to the :ref:`What's New entry ` for additional details." msgstr "" "Como parte da :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals` e :" "attr:`FrameType.f_locals ` não fazem mais uso do dicionário " "de cache compartilhado. Consulte a :ref:`entrada de O Que Há de Novo " "` para detalhes adicionais." #: ../../c-api/reflection.rst:50 msgid "Use :c:func:`PyEval_GetFrameGlobals` instead." msgstr "Use :c:func:`PyEval_GetFrameGlobals`." #: ../../c-api/reflection.rst:52 msgid "" "Return a dictionary of the global variables in the current execution frame, " "or ``NULL`` if no frame is currently executing." msgstr "" "Retorna um dicionário das variáveis globais no quadro de execução atual ou " "``NULL`` se nenhum quadro estiver sendo executado no momento." #: ../../c-api/reflection.rst:58 msgid "" "Return the :term:`attached thread state`'s frame, which is ``NULL`` if no " "frame is currently executing." msgstr "" "Retorna o quadro do :term:`estado de thread anexado`, que é ``NULL`` se " "nenhum quadro estiver em execução no momento." #: ../../c-api/reflection.rst:61 msgid "See also :c:func:`PyThreadState_GetFrame`." msgstr "Veja também :c:func:`PyThreadState_GetFrame`." #: ../../c-api/reflection.rst:74 msgid "" "Return a dictionary of the local variables in the current execution frame, " "or ``NULL`` if no frame is currently executing. Equivalent to calling :func:" "`locals` in Python code." msgstr "" "Retorna um dicionário das variáveis locais no quadro de execução atual ou " "``NULL`` se nenhum quadro estiver sendo executado no momento. Equivalente a " "chamar :func:`locals` em código Python." #: ../../c-api/reflection.rst:78 msgid "" "To access :attr:`~frame.f_locals` on the current frame without making an " "independent snapshot in :term:`optimized scopes `, call :c:" "func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`." msgstr "" "Para acessar :attr:`~frame.f_locals` no quadro atual sem fazer um snapshot " "independente em :term:`escopos otimizados `, chame :c:func:" "`PyFrame_GetLocals` no resultado de :c:func:`PyEval_GetFrame`." #: ../../c-api/reflection.rst:87 msgid "" "Return a dictionary of the global variables in the current execution frame, " "or ``NULL`` if no frame is currently executing. Equivalent to calling :func:" "`globals` in Python code." msgstr "" "Retorna um dicionário das variáveis globais no quadro de execução atual ou " "``NULL`` se nenhum quadro estiver sendo executado no momento. Equivalente a " "chamar :func:`globals` em código Python." #: ../../c-api/reflection.rst:96 msgid "" "Return the name of *func* if it is a function, class or instance object, " "else the name of *func*\\s type." msgstr "" "Retorna o nome de *func* se for uma função, classe ou objeto de instância, " "senão o nome do tipo da *func*." #: ../../c-api/reflection.rst:102 msgid "" "Return a description string, depending on the type of *func*. Return values " "include \"()\" for functions and methods, \" constructor\", \" instance\", " "and \" object\". Concatenated with the result of :c:func:" "`PyEval_GetFuncName`, the result will be a description of *func*." msgstr "" "Retorna uma sequência de caracteres de descrição, dependendo do tipo de " "*func*. Os valores de retorno incluem \"()\" para funções e métodos, \" " "constructor\", \" instance\" e \" object\".. Concatenado com o resultado de :" "c:func:`PyEval_GetFuncName`, o resultado será uma descrição de *func*."