Skip to content

Commit 574ac76

Browse files
committed
update python-newest.c-api--reflection/id.po with latest contents from transifex
1 parent b0994f9 commit 574ac76

File tree

1 file changed

+67
-33
lines changed
  • python-newest.c-api--reflection

1 file changed

+67
-33
lines changed

python-newest.c-api--reflection/id.po

Lines changed: 67 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2020, Python Software Foundation
2+
# Copyright (C) 2001 Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
#, fuzzy
77
msgid ""
88
msgstr ""
9-
"Project-Id-Version: Python 3.9\n"
9+
"Project-Id-Version: Python 3.14\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
12-
"PO-Revision-Date: 2017-02-16 17:38+0000\n"
13-
"Language-Team: Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n"
11+
"POT-Creation-Date: 2025-05-09 14:19+0000\n"
12+
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
13+
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/id/)\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
@@ -21,70 +21,104 @@ msgstr ""
2121
msgid "Reflection"
2222
msgstr ""
2323

24-
#: ../../c-api/reflection.rst:10
24+
#: ../../c-api/reflection.rst:12
25+
msgid "Use :c:func:`PyEval_GetFrameBuiltins` instead."
26+
msgstr ""
27+
28+
#: ../../c-api/reflection.rst:14 ../../c-api/reflection.rst:66
2529
msgid ""
2630
"Return a dictionary of the builtins in the current execution frame, or the "
2731
"interpreter of the thread state if no frame is currently executing."
2832
msgstr ""
2933

30-
#: ../../c-api/reflection.rst:16
34+
#: ../../c-api/reflection.rst:22
3135
msgid ""
32-
"Return a dictionary of the local variables in the current execution frame, "
33-
"or ``NULL`` if no frame is currently executing."
36+
"Use either :c:func:`PyEval_GetFrameLocals` to obtain the same behaviour as "
37+
"calling :func:`locals` in Python code, or else call "
38+
":c:func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame` to "
39+
"access the :attr:`~frame.f_locals` attribute of the currently executing "
40+
"frame."
3441
msgstr ""
3542

36-
#: ../../c-api/reflection.rst:22
43+
#: ../../c-api/reflection.rst:27
3744
msgid ""
38-
"Return a dictionary of the global variables in the current execution frame, "
39-
"or ``NULL`` if no frame is currently executing."
45+
"Return a mapping providing access to the local variables in the current "
46+
"execution frame, or ``NULL`` if no frame is currently executing."
4047
msgstr ""
4148

42-
#: ../../c-api/reflection.rst:28
49+
#: ../../c-api/reflection.rst:30
4350
msgid ""
44-
"Return the current thread state's frame, which is ``NULL`` if no frame is "
45-
"currently executing."
51+
"Refer to :func:`locals` for details of the mapping returned at different "
52+
"scopes."
4653
msgstr ""
4754

48-
#: ../../c-api/reflection.rst:31
49-
msgid "See also :c:func:`PyThreadState_GetFrame`."
55+
#: ../../c-api/reflection.rst:32
56+
msgid ""
57+
"As this function returns a :term:`borrowed reference`, the dictionary "
58+
"returned for :term:`optimized scopes <optimized scope>` is cached on the "
59+
"frame object and will remain alive as long as the frame object does. Unlike "
60+
":c:func:`PyEval_GetFrameLocals` and :func:`locals`, subsequent calls to this"
61+
" function in the same frame will update the contents of the cached "
62+
"dictionary to reflect changes in the state of the local variables rather "
63+
"than returning a new snapshot."
64+
msgstr ""
65+
66+
#: ../../c-api/reflection.rst:39
67+
msgid ""
68+
"As part of :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals`, and "
69+
":attr:`FrameType.f_locals <frame.f_locals>` no longer make use of the shared"
70+
" cache dictionary. Refer to the :ref:`What's New entry <whatsnew313-locals-"
71+
"semantics>` for additional details."
5072
msgstr ""
5173

52-
#: ../../c-api/reflection.rst:36
53-
msgid "Get the *frame* next outer frame."
74+
#: ../../c-api/reflection.rst:50
75+
msgid "Use :c:func:`PyEval_GetFrameGlobals` instead."
5476
msgstr ""
5577

56-
#: ../../c-api/reflection.rst:38
57-
msgid "Return a strong reference, or ``NULL`` if *frame* has no outer frame."
78+
#: ../../c-api/reflection.rst:52
79+
msgid ""
80+
"Return a dictionary of the global variables in the current execution frame, "
81+
"or ``NULL`` if no frame is currently executing."
5882
msgstr ""
5983

60-
#: ../../c-api/reflection.rst:40 ../../c-api/reflection.rst:60
61-
msgid "*frame* must not be ``NULL``."
84+
#: ../../c-api/reflection.rst:58
85+
msgid ""
86+
"Return the :term:`attached thread state`'s frame, which is ``NULL`` if no "
87+
"frame is currently executing."
6288
msgstr ""
6389

64-
#: ../../c-api/reflection.rst:47
65-
msgid "Get the *frame* code."
90+
#: ../../c-api/reflection.rst:61
91+
msgid "See also :c:func:`PyThreadState_GetFrame`."
6692
msgstr ""
6793

68-
#: ../../c-api/reflection.rst:49
69-
msgid "Return a strong reference."
94+
#: ../../c-api/reflection.rst:74
95+
msgid ""
96+
"Return a dictionary of the local variables in the current execution frame, "
97+
"or ``NULL`` if no frame is currently executing. Equivalent to calling "
98+
":func:`locals` in Python code."
7099
msgstr ""
71100

72-
#: ../../c-api/reflection.rst:51
101+
#: ../../c-api/reflection.rst:78
73102
msgid ""
74-
"*frame* must not be ``NULL``. The result (frame code) cannot be ``NULL``."
103+
"To access :attr:`~frame.f_locals` on the current frame without making an "
104+
"independent snapshot in :term:`optimized scopes <optimized scope>`, call "
105+
":c:func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`."
75106
msgstr ""
76107

77-
#: ../../c-api/reflection.rst:58
78-
msgid "Return the line number that *frame* is currently executing."
108+
#: ../../c-api/reflection.rst:87
109+
msgid ""
110+
"Return a dictionary of the global variables in the current execution frame, "
111+
"or ``NULL`` if no frame is currently executing. Equivalent to calling "
112+
":func:`globals` in Python code."
79113
msgstr ""
80114

81-
#: ../../c-api/reflection.rst:65
115+
#: ../../c-api/reflection.rst:96
82116
msgid ""
83117
"Return the name of *func* if it is a function, class or instance object, "
84118
"else the name of *func*\\s type."
85119
msgstr ""
86120

87-
#: ../../c-api/reflection.rst:71
121+
#: ../../c-api/reflection.rst:102
88122
msgid ""
89123
"Return a description string, depending on the type of *func*. Return values "
90124
"include \"()\" for functions and methods, \" constructor\", \" instance\", "

0 commit comments

Comments
 (0)