@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.15\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-08-07 14:47 +0000\n "
14+ "POT-Creation-Date : 2026-08-09 14:27 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1616"Last-Translator : python-doc bot, 2026\n "
1717"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -312,32 +312,10 @@ msgstr ""
312312
313313#: ../../c-api/frame.rst:272
314314msgid ""
315- "However, Python's C API lacks a function to read the executable kind from a "
316- "frame. Instead, use this recipe: "
315+ "Note that reading the executable kind from a frame is currently only "
316+ "possible with undocumented internal APIs. "
317317msgstr ""
318318
319- #: ../../c-api/frame.rst:275
320- msgid ""
321- "int\n"
322- "get_executable_kind(PyFrameObject *frame)\n"
323- "{\n"
324- " _PyInterpreterFrame *f = frame->f_frame;\n"
325- " PyObject *exec = PyStackRef_AsPyObjectBorrow(f->f_executable);\n"
326- "\n"
327- " if (PyCode_Check(exec)) {\n"
328- " return PyUnstable_EXECUTABLE_KIND_PY_FUNCTION;\n"
329- " }\n"
330- " if (PyMethod_Check(exec)) {\n"
331- " return PyUnstable_EXECUTABLE_KIND_BUILTIN_FUNCTION;\n"
332- " }\n"
333- " if (Py_IS_TYPE(exec, &PyMethodDescr_Type)) {\n"
334- " return PyUnstable_EXECUTABLE_KIND_METHOD_DESCRIPTOR;\n"
335- " }\n"
336- "\n"
337- " return PyUnstable_EXECUTABLE_KIND_SKIP;\n"
338- "}"
339- msgstr ""
340-
341- #: ../../c-api/frame.rst:301
319+ #: ../../c-api/frame.rst:280
342320msgid "The number of entries in :c:data:`PyUnstable_ExecutableKinds`."
343321msgstr ""
0 commit comments