Repository navigation
Expand file tree
/
Copy pathreflection.po
More file actions
175 lines (157 loc) · 8.27 KB
/
Copy pathreflection.po
File metadata and controls
175 lines (157 loc) · 8.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
# Inada Naoki <songofacandy@gmail.com>, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-01 18:39+0000\n"
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
"ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../c-api/reflection.rst:6
msgid "Reflection"
msgstr "リフレクション"
msgid "Use :c:func:`PyEval_GetFrameBuiltins` instead."
msgstr "代わりに :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 ""
"現在の実行フレーム内のビルトインの辞書か、もし実行中のフレームがなければス"
"レッド状態のインタプリタのビルトイン辞書を返します。"
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 ""
"Python コードで :func:`locals` を呼び出すのと同じ動作を得るに"
"は :c:func:`PyEval_GetFrameLocals` を使ってください。\n"
"または、現在実行中のフレームの :attr:`~frame.f_locals` 属性にアクセスするに"
"は、:c:func:`PyEval_GetFrame` の戻り値に対して :c:func:`PyFrame_GetLocals` を"
"呼び出してください。"
msgid ""
"Return a mapping providing access to the local variables in the current "
"execution frame, or ``NULL`` if no frame is currently executing."
msgstr ""
"現在の実行フレームのローカル変数にアクセスするためのマッピングを返します。\n"
"現在実行中のフレームがなければ ``NULL`` を返します。"
msgid ""
"Refer to :func:`locals` for details of the mapping returned at different "
"scopes."
msgstr ""
"スコープごとに返されるマッピングの詳細は :func:`locals` を参照してください。"
msgid ""
"As this function returns a :term:`borrowed reference`, the dictionary "
"returned for :term:`optimized scopes <optimized scope>` 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 ""
"この関数は :term:`借用参照 <borrowed reference>` を返すため、:term:`最適化さ"
"れたスコープ <optimized scope>` に対して返される辞書はフレームオブジェクトに"
"キャッシュされ、フレームオブジェクトが生存する限り生存し続けます。\n"
":c:func:`PyEval_GetFrameLocals` や :func:`locals` と異なり、同じフレームでこ"
"の関数を再度呼び出すと、新しいスナップショットを返す代わりに、ローカル変数の"
"状態の変化を反映するようキャッシュした辞書の内容を更新します。"
msgid ""
"As part of :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals`, "
"and :attr:`FrameType.f_locals <frame.f_locals>` no longer make use of the "
"shared cache dictionary. Refer to the :ref:`What's New entry <whatsnew313-"
"locals-semantics>` for additional details."
msgstr ""
":pep:`667` の変更の一環とし"
"て、:c:func:`PyFrame_GetLocals`、:func:`locals`、:attr:`FrameType.f_locals "
"<frame.f_locals>` は共有キャッシュ辞書を使わなくなりました。\n"
"詳しくは :ref:`What's New の該当項目 <whatsnew313-locals-semantics>` を参照し"
"てください。"
msgid "Use :c:func:`PyEval_GetFrameGlobals` instead."
msgstr "代わりに :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 ""
"現在の実行フレーム内のグローバル変数の辞書か、実行中のフレームがなければ "
"``NULL`` を返します。"
msgid ""
"Return the :term:`attached thread state`'s frame, which is ``NULL`` if no "
"frame is currently executing."
msgstr ""
":term:`アタッチされたスレッド状態 <attached thread state>` のフレームを返しま"
"す。\n"
"現在実行中のフレームがなければ ``NULL`` です。"
msgid "See also :c:func:`PyThreadState_GetFrame`."
msgstr ":c:func:`PyThreadState_GetFrame` も参照してください。"
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 ""
"現在の実行フレームのローカル変数の辞書を返します。\n"
"現在実行中のフレームがなければ ``NULL`` を返します。\n"
"Python コードで :func:`locals` を呼び出すことと等価です。"
msgid ""
"To access :attr:`~frame.f_locals` on the current frame without making an "
"independent snapshot in :term:`optimized scopes <optimized scope>`, "
"call :c:func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`."
msgstr ""
":term:`最適化されたスコープ <optimized scope>` で独立したスナップショットを作"
"らずに、現在のフレームの :attr:`~frame.f_locals` にアクセスするに"
"は、:c:func:`PyEval_GetFrame` の戻り値に対して :c:func:`PyFrame_GetLocals` を"
"呼び出してください。"
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 ""
"現在の実行フレームのグローバル変数の辞書を返します。\n"
"現在実行中のフレームがなければ ``NULL`` を返します。\n"
"Python コードで :func:`globals` を呼び出すことと等価です。"
msgid ""
"Return the name of *func* if it is a function, class or instance object, "
"else the name of *func*\\s type."
msgstr ""
"*func* が関数、クラス、インスタンスオブジェクトであればその名前を返し、それ以"
"外の場合は *func* の型の名前を返します。"
msgid ""
"For a Python function or method, the returned pointer refers to the "
"function's name and must not be retained across operations that may change "
"that name. In the free-threaded build, copy the string before detaching the "
"thread state or executing Python code if the name may be modified "
"concurrently."
msgstr ""
"Python の関数やメソッドの場合、返されたポインタはその関数の名前を指します。\n"
"名前を変更する可能性のある操作をまたいで、このポインタを保持してはいけませ"
"ん。\n"
"フリースレッドビルドで名前が並行して変更される可能性がある場合、スレッド状態"
"をデタッチしたり Python コードを実行したりする前に文字列をコピーしてくださ"
"い。"
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 ""
"*func* の型に応じた説明文字列を返します。\n"
"戻り値には、関数とメソッドに対する \"()\" のほか、\" constructor\"、\" "
"instance\"、\" object\" があります。\n"
":c:func:`PyEval_GetFuncName` の戻り値に連結すると、*func* の説明になります。"