@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.11\n "
1414"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 "
1616"PO-Revision-Date : 2021-06-28 00:55+0000\n "
1717"Last-Translator : Shin Saito, 2021\n "
1818"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -54,13 +54,19 @@ msgstr ""
5454
5555#: ../../library/atexit.rst:23
5656msgid ""
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 ""
5763"When used with C-API subinterpreters, registered functions are local to the "
5864"interpreter they were registered in."
5965msgstr ""
6066"C-API のサブインタープリタで使われているとき、登録された関数は登録先のイン"
6167"タープリタのローカルな関数になります。"
6268
63- #: ../../library/atexit.rst:29
69+ #: ../../library/atexit.rst:32
6470msgid ""
6571"Register *func* as a function to be executed at termination. Any optional "
6672"arguments that are to be passed to *func* must be passed as arguments to :"
@@ -71,7 +77,7 @@ msgstr ""
7177"`register` の引数として指定しなければなりません。同じ関数を同じ引数で複数回登"
7278"録できます。"
7379
74- #: ../../library/atexit.rst:34
80+ #: ../../library/atexit.rst:37
7581msgid ""
7682"At normal program termination (for instance, if :func:`sys.exit` is called "
7783"or the main module's execution completes), all functions registered are "
@@ -85,7 +91,7 @@ msgstr ""
8591"ルのモジュールより前に import されるので、後で後始末が行われるという仮定に基"
8692"づいています。"
8793
88- #: ../../library/atexit.rst:40
94+ #: ../../library/atexit.rst:43
8995msgid ""
9096"If an exception is raised during execution of the exit handlers, a traceback "
9197"is printed (unless :exc:`SystemExit` is raised) and the exception "
@@ -96,13 +102,13 @@ msgstr ""
96102"レースバックを表示して、例外の情報を保存します。全ての終了ハンドラに動作する"
97103"チャンスを与えた後に、最後に送出された例外を再送出します。"
98104
99- #: ../../library/atexit.rst:45
105+ #: ../../library/atexit.rst:48
100106msgid ""
101107"This function returns *func*, which makes it possible to use it as a "
102108"decorator."
103109msgstr "この関数は *func* を返し、これをデコレータとして利用できます。"
104110
105- #: ../../library/atexit.rst:51
111+ #: ../../library/atexit.rst:54
106112msgid ""
107113"Remove *func* from the list of functions to be run at interpreter shutdown. :"
108114"func:`unregister` silently does nothing if *func* was not previously "
@@ -117,23 +123,23 @@ msgstr ""
117123"現が削除されます。削除の際の比較には等価比較 (``==``) が使われます。したがっ"
118124"て削除したいものと同一の関数を *func* に指定する必要はありません。"
119125
120- #: ../../library/atexit.rst:62
126+ #: ../../library/atexit.rst:65
121127msgid "Module :mod:`readline`"
122128msgstr ":mod:`readline` モジュール"
123129
124- #: ../../library/atexit.rst:62
130+ #: ../../library/atexit.rst:65
125131msgid ""
126132"Useful example of :mod:`atexit` to read and write :mod:`readline` history "
127133"files."
128134msgstr ""
129135":mod:`readline` ヒストリファイルを読み書きするための :mod:`atexit` の有用な例"
130136"です。"
131137
132- #: ../../library/atexit.rst:69
138+ #: ../../library/atexit.rst:72
133139msgid ":mod:`atexit` Example"
134140msgstr ":mod:`atexit` の例"
135141
136- #: ../../library/atexit.rst:71
142+ #: ../../library/atexit.rst:74
137143msgid ""
138144"The following simple example demonstrates how a module can initialize a "
139145"counter from a file when it is imported and save the counter's updated value "
@@ -144,19 +150,19 @@ msgstr ""
144150"プログラムが終了するときにアプリケーションがこのモジュールを明示的に呼び出さ"
145151"なくてもカウンタが更新されるようにする方法を示しています。 ::"
146152
147- #: ../../library/atexit.rst:94
153+ #: ../../library/atexit.rst:97
148154msgid ""
149155"Positional and keyword arguments may also be passed to :func:`register` to "
150156"be passed along to the registered function when it is called::"
151157msgstr ""
152158":func:`register` に指定した位置引数とキーワード引数は登録した関数を呼び出す際"
153159"に渡されます::"
154160
155- #: ../../library/atexit.rst:106
161+ #: ../../library/atexit.rst:109
156162msgid "Usage as a :term:`decorator`::"
157163msgstr ":term:`デコレータ <decorator>` として利用する例::"
158164
159- #: ../../library/atexit.rst:114
165+ #: ../../library/atexit.rst:117
160166msgid "This only works with functions that can be called without arguments."
161167msgstr ""
162168"デコレータとして利用できるのは、その関数が引数なしで呼び出された場合に限られ"
0 commit comments