@@ -12,7 +12,7 @@ msgid ""
12
12
msgstr ""
13
13
"Project-Id-Version : Python 3.11\n "
14
14
"Report-Msgid-Bugs-To : \n "
15
- "POT-Creation-Date : 2023-04-28 14:13 +0000\n "
15
+ "POT-Creation-Date : 2023-05-18 02:02 +0000\n "
16
16
"PO-Revision-Date : 2021-06-28 00:55+0000\n "
17
17
"Last-Translator : Shin Saito, 2021\n "
18
18
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -54,13 +54,19 @@ msgstr ""
54
54
55
55
#: ../../library/atexit.rst:23
56
56
msgid ""
57
+ "**Note:** The effect of registering or unregistering functions from within a "
58
+ "cleanup function is undefined."
59
+ msgstr ""
60
+
61
+ #: ../../library/atexit.rst:26
62
+ msgid ""
57
63
"When used with C-API subinterpreters, registered functions are local to the "
58
64
"interpreter they were registered in."
59
65
msgstr ""
60
66
"C-API のサブインタープリタで使われているとき、登録された関数は登録先のイン"
61
67
"タープリタのローカルな関数になります。"
62
68
63
- #: ../../library/atexit.rst:29
69
+ #: ../../library/atexit.rst:32
64
70
msgid ""
65
71
"Register *func* as a function to be executed at termination. Any optional "
66
72
"arguments that are to be passed to *func* must be passed as arguments to :"
@@ -71,7 +77,7 @@ msgstr ""
71
77
"`register` の引数として指定しなければなりません。同じ関数を同じ引数で複数回登"
72
78
"録できます。"
73
79
74
- #: ../../library/atexit.rst:34
80
+ #: ../../library/atexit.rst:37
75
81
msgid ""
76
82
"At normal program termination (for instance, if :func:`sys.exit` is called "
77
83
"or the main module's execution completes), all functions registered are "
@@ -85,7 +91,7 @@ msgstr ""
85
91
"ルのモジュールより前に import されるので、後で後始末が行われるという仮定に基"
86
92
"づいています。"
87
93
88
- #: ../../library/atexit.rst:40
94
+ #: ../../library/atexit.rst:43
89
95
msgid ""
90
96
"If an exception is raised during execution of the exit handlers, a traceback "
91
97
"is printed (unless :exc:`SystemExit` is raised) and the exception "
@@ -96,13 +102,13 @@ msgstr ""
96
102
"レースバックを表示して、例外の情報を保存します。全ての終了ハンドラに動作する"
97
103
"チャンスを与えた後に、最後に送出された例外を再送出します。"
98
104
99
- #: ../../library/atexit.rst:45
105
+ #: ../../library/atexit.rst:48
100
106
msgid ""
101
107
"This function returns *func*, which makes it possible to use it as a "
102
108
"decorator."
103
109
msgstr "この関数は *func* を返し、これをデコレータとして利用できます。"
104
110
105
- #: ../../library/atexit.rst:51
111
+ #: ../../library/atexit.rst:54
106
112
msgid ""
107
113
"Remove *func* from the list of functions to be run at interpreter shutdown. :"
108
114
"func:`unregister` silently does nothing if *func* was not previously "
@@ -117,23 +123,23 @@ msgstr ""
117
123
"現が削除されます。削除の際の比較には等価比較 (``==``) が使われます。したがっ"
118
124
"て削除したいものと同一の関数を *func* に指定する必要はありません。"
119
125
120
- #: ../../library/atexit.rst:62
126
+ #: ../../library/atexit.rst:65
121
127
msgid "Module :mod:`readline`"
122
128
msgstr ":mod:`readline` モジュール"
123
129
124
- #: ../../library/atexit.rst:62
130
+ #: ../../library/atexit.rst:65
125
131
msgid ""
126
132
"Useful example of :mod:`atexit` to read and write :mod:`readline` history "
127
133
"files."
128
134
msgstr ""
129
135
":mod:`readline` ヒストリファイルを読み書きするための :mod:`atexit` の有用な例"
130
136
"です。"
131
137
132
- #: ../../library/atexit.rst:69
138
+ #: ../../library/atexit.rst:72
133
139
msgid ":mod:`atexit` Example"
134
140
msgstr ":mod:`atexit` の例"
135
141
136
- #: ../../library/atexit.rst:71
142
+ #: ../../library/atexit.rst:74
137
143
msgid ""
138
144
"The following simple example demonstrates how a module can initialize a "
139
145
"counter from a file when it is imported and save the counter's updated value "
@@ -144,19 +150,19 @@ msgstr ""
144
150
"プログラムが終了するときにアプリケーションがこのモジュールを明示的に呼び出さ"
145
151
"なくてもカウンタが更新されるようにする方法を示しています。 ::"
146
152
147
- #: ../../library/atexit.rst:94
153
+ #: ../../library/atexit.rst:97
148
154
msgid ""
149
155
"Positional and keyword arguments may also be passed to :func:`register` to "
150
156
"be passed along to the registered function when it is called::"
151
157
msgstr ""
152
158
":func:`register` に指定した位置引数とキーワード引数は登録した関数を呼び出す際"
153
159
"に渡されます::"
154
160
155
- #: ../../library/atexit.rst:106
161
+ #: ../../library/atexit.rst:109
156
162
msgid "Usage as a :term:`decorator`::"
157
163
msgstr ":term:`デコレータ <decorator>` として利用する例::"
158
164
159
- #: ../../library/atexit.rst:114
165
+ #: ../../library/atexit.rst:117
160
166
msgid "This only works with functions that can be called without arguments."
161
167
msgstr ""
162
168
"デコレータとして利用できるのは、その関数が引数なしで呼び出された場合に限られ"
0 commit comments