@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.10\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2021-06-29 12:56 +0000\n "
14
+ "POT-Creation-Date : 2021-06-30 12:50 +0000\n "
15
15
"PO-Revision-Date : 2021-06-28 00:55+0000\n "
16
16
"Last-Translator : tomo, 2021\n "
17
17
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -92,31 +92,29 @@ msgstr "この関数は *func* を返し、これをデコレータとして利
92
92
93
93
#: ../../library/atexit.rst:51
94
94
msgid ""
95
- "Remove *func* from the list of functions to be run at interpreter shutdown."
96
- " After calling :func:`unregister`, *func* is guaranteed not to be called "
97
- "when the interpreter shuts down, even if it was registered more than once. "
95
+ "Remove *func* from the list of functions to be run at interpreter shutdown. "
98
96
":func:`unregister` silently does nothing if *func* was not previously "
99
- "registered."
97
+ "registered. If *func* has been registered more than once, every occurrence "
98
+ "of that function in the :mod:`atexit` call stack will be removed. Equality "
99
+ "comparisons (``==``) are used internally during unregistration, so function "
100
+ "references do not need to have matching identities."
100
101
msgstr ""
101
- "*func* をインタプリタ終了時に実行される関数のリストから削除します。:func:`unregister` で削除されると、*func* "
102
- "は、たとえ複数個登録されていてもインタプリタ終了時に呼び出されないことが保証されます。*func* "
103
- "が登録されていない場合、:func:`unregister` は何もせず、何も通知しません。"
104
102
105
- #: ../../library/atexit.rst:61
103
+ #: ../../library/atexit.rst:62
106
104
msgid "Module :mod:`readline`"
107
105
msgstr ":mod:`readline` モジュール"
108
106
109
- #: ../../library/atexit.rst:61
107
+ #: ../../library/atexit.rst:62
110
108
msgid ""
111
109
"Useful example of :mod:`atexit` to read and write :mod:`readline` history "
112
110
"files."
113
111
msgstr ":mod:`readline` ヒストリファイルを読み書きするための :mod:`atexit` の有用な例です。"
114
112
115
- #: ../../library/atexit.rst:68
113
+ #: ../../library/atexit.rst:69
116
114
msgid ":mod:`atexit` Example"
117
115
msgstr ":mod:`atexit` の例"
118
116
119
- #: ../../library/atexit.rst:70
117
+ #: ../../library/atexit.rst:71
120
118
msgid ""
121
119
"The following simple example demonstrates how a module can initialize a "
122
120
"counter from a file when it is imported and save the counter's updated value"
@@ -127,16 +125,16 @@ msgstr ""
127
125
"した時にカウンタを初期化しておき、プログラムが終了するときにアプリケーションがこのモジュールを明示的に呼び出さなくてもカウンタが更新されるようにする方法を示しています。"
128
126
" ::"
129
127
130
- #: ../../library/atexit.rst:93
128
+ #: ../../library/atexit.rst:94
131
129
msgid ""
132
130
"Positional and keyword arguments may also be passed to :func:`register` to "
133
131
"be passed along to the registered function when it is called::"
134
132
msgstr ":func:`register` に指定した位置引数とキーワード引数は登録した関数を呼び出す際に渡されます::"
135
133
136
- #: ../../library/atexit.rst:105
134
+ #: ../../library/atexit.rst:106
137
135
msgid "Usage as a :term:`decorator`::"
138
136
msgstr ":term:`デコレータ <decorator>` として利用する例::"
139
137
140
- #: ../../library/atexit.rst:113
138
+ #: ../../library/atexit.rst:114
141
139
msgid "This only works with functions that can be called without arguments."
142
140
msgstr "デコレータとして利用できるのは、その関数が引数なしで呼び出された場合に限られます。"
0 commit comments