@@ -14,7 +14,7 @@ msgid ""
1414msgstr ""
1515"Project-Id-Version : Python 3.9\n "
1616"Report-Msgid-Bugs-To : \n "
17- "POT-Creation-Date : 2021-01-01 05:02 +0000\n "
17+ "POT-Creation-Date : 2021-04-26 06:10 +0000\n "
1818"PO-Revision-Date : 2017-02-16 17:43+0000\n "
1919"Last-Translator : tomo, 2018\n "
2020"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -205,18 +205,16 @@ msgstr "どうすれば Python スクリプトを EXE に出来ますか?"
205205
206206#: ../../faq/windows.rst:143
207207msgid ""
208- "See `cx_Freeze <https://cx-freeze.readthedocs.io/en/latest/>`_ for a "
209- "distutils extension that allows you to create console and GUI executables "
210- "from Python code. `py2exe <http://www.py2exe.org/>`_, the most popular "
211- "extension for building Python 2.x-based executables, does not yet support "
212- "Python 3 but a version that does is in development."
208+ "See `cx_Freeze <https://cx-freeze.readthedocs.io/en/latest/>`_ and `py2exe "
209+ "<http://www.py2exe.org/>`_, both are distutils extensions that allow you to "
210+ "create console and GUI executables from Python code."
213211msgstr ""
214212
215- #: ../../faq/windows.rst:151
213+ #: ../../faq/windows.rst:149
216214msgid "Is a ``*.pyd`` file the same as a DLL?"
217215msgstr "``*.pyd`` ファイルは DLL と同じですか?"
218216
219- #: ../../faq/windows.rst:153
217+ #: ../../faq/windows.rst:151
220218msgid ""
221219"Yes, .pyd files are dll's, but there are a few differences. If you have a "
222220"DLL named ``foo.pyd``, then it must have a function ``PyInit_foo()``. You "
@@ -231,7 +229,7 @@ msgstr ""
231229"を呼び出して初期化しようとします。Windows が DLL の存在を必要とするのと違い、.exe ファイルを foo.lib "
232230"にリンクするわけではありません。"
233231
234- #: ../../faq/windows.rst:160
232+ #: ../../faq/windows.rst:158
235233msgid ""
236234"Note that the search path for foo.pyd is PYTHONPATH, not the same as the "
237235"path that Windows uses to search for foo.dll. Also, foo.pyd need not be "
@@ -246,17 +244,17 @@ msgstr ""
246244"は実行には必要はありません。もちろん、 ``import foo`` したいなら foo.pyd は必要です。DLL では、リンクはソースコード内で "
247245"``__declspec(dllexport)`` によって宣言されます。.pyd では、リンクは使える関数のリストで定義されます。"
248246
249- #: ../../faq/windows.rst:169
247+ #: ../../faq/windows.rst:167
250248msgid "How can I embed Python into a Windows application?"
251249msgstr "Python を Windows アプリケーションに埋め込むにはどうしたらいいですか?"
252250
253- #: ../../faq/windows.rst:171
251+ #: ../../faq/windows.rst:169
254252msgid ""
255253"Embedding the Python interpreter in a Windows app can be summarized as "
256254"follows:"
257255msgstr "Python インタプリタを Windows app に埋め込む方法は、次のように要約できます:"
258256
259- #: ../../faq/windows.rst:173
257+ #: ../../faq/windows.rst:171
260258msgid ""
261259"Do _not_ build Python into your .exe file directly. On Windows, Python must"
262260" be a DLL to handle importing modules that are themselves DLL's. (This is "
@@ -270,7 +268,7 @@ msgstr ""
270268"とリンクしてください; 普通はそれは ``C:\\ Windows\\ System`` にインストールされています。 *NN* は Python "
271269"バージョンで Python 3.3 であれば \" 33\" のような数字です。"
272270
273- #: ../../faq/windows.rst:179
271+ #: ../../faq/windows.rst:177
274272msgid ""
275273"You can link to Python in two different ways. Load-time linking means "
276274"linking against :file:`python{NN}.lib`, while run-time linking means linking"
@@ -283,7 +281,7 @@ msgstr ""
283281"に対してリンクするものです。(一般的な注意: :file:`python{NN}.lib` は :file:`python{NN}.dll` "
284282"に対するいわゆる \" インポートライブラリ\" です。これは単にリンカに対するシンボルを定義します。)"
285283
286- #: ../../faq/windows.rst:185
284+ #: ../../faq/windows.rst:183
287285msgid ""
288286"Run-time linking greatly simplifies link options; everything happens at run "
289287"time. Your code must load :file:`python{NN}.dll` using the Windows "
@@ -300,15 +298,15 @@ msgstr ""
300298"API)のルーチンとデータへアクセスしていなければなりません。マクロによって、このポインタを Python の C API のルーチンを呼び出す任意の "
301299"C コードに通して使えます。"
302300
303- #: ../../faq/windows.rst:192
301+ #: ../../faq/windows.rst:190
304302msgid ""
305303"Borland note: convert :file:`python{NN}.lib` to OMF format using "
306304"Coff2Omf.exe first."
307305msgstr ""
308306"Borland note: まず :file:`python{NN}.lib` を Coff2Omf.exe で OMF "
309307"フォーマットに変換してください。"
310308
311- #: ../../faq/windows.rst:197
309+ #: ../../faq/windows.rst:195
312310msgid ""
313311"If you use SWIG, it is easy to create a Python \" extension module\" that "
314312"will make the app's data and methods available to Python. SWIG will handle "
@@ -320,7 +318,7 @@ msgstr ""
320318"は雑用を殆どやってくれるでしょう。結果として、.exe ファイル *の中に* リンクする C コードができます(!)。DLL を作 "
321319"_らなくてもよく_、リンクも簡潔になります。"
322320
323- #: ../../faq/windows.rst:203
321+ #: ../../faq/windows.rst:201
324322msgid ""
325323"SWIG will create an init function (a C function) whose name depends on the "
326324"name of the extension module. For example, if the name of the module is "
@@ -332,7 +330,7 @@ msgstr ""
332330"initleo() になります。SWIG shadow クラスを使ったほうがよく、そうすると init 関数の名前は initleoc() "
333331"になります。これは shadow クラスが使うほとんど隠れた helper クラスを初期化します。"
334332
335- #: ../../faq/windows.rst:209
333+ #: ../../faq/windows.rst:207
336334msgid ""
337335"The reason you can link the C code in step 2 into your .exe file is that "
338336"calling the initialization function is equivalent to importing the module "
@@ -341,21 +339,21 @@ msgstr ""
341339"ステップ 2 の C コードを .exe ファイルにリンクできるのは、初期化関数の呼び出しと Python へのモジュールのインポートが同等だからです!"
342340" (ドキュメント化されていない重大な事実の二つ目です)"
343341
344- #: ../../faq/windows.rst:213
342+ #: ../../faq/windows.rst:211
345343msgid ""
346344"In short, you can use the following code to initialize the Python "
347345"interpreter with your extension module."
348346msgstr "要するに、以下のコードを使って Python インタプリタを拡張モジュール込みで初期化することができます。"
349347
350- #: ../../faq/windows.rst:224
348+ #: ../../faq/windows.rst:222
351349msgid ""
352350"There are two problems with Python's C API which will become apparent if you"
353351" use a compiler other than MSVC, the compiler used to build pythonNN.dll."
354352msgstr ""
355353"Python の C API には、pythonNN.dll をビルドするのに使われたコンパイラ MSVC "
356354"以外のコンパイラを使うと現れる二つの問題があります。"
357355
358- #: ../../faq/windows.rst:227
356+ #: ../../faq/windows.rst:225
359357msgid ""
360358"Problem 1: The so-called \" Very High Level\" functions that take FILE * "
361359"arguments will not work in a multi-compiler environment because each "
@@ -365,13 +363,13 @@ msgstr ""
365363"問題 1: コンパイラによって struct FILE に対する概念が異なるため、FILE * 引数を取るいわゆる \" 超高水準\" "
366364"関数は、多コンパイラ環境で働きません。実装の観点から、これらは超 _低_ 水準関数になっています。"
367365
368- #: ../../faq/windows.rst:232
366+ #: ../../faq/windows.rst:230
369367msgid ""
370368"Problem 2: SWIG generates the following code when generating wrappers to "
371369"void functions:"
372370msgstr "問題 2: SWIG は void 関数へのラッパを生成するときに以下のコードを生成します:"
373371
374- #: ../../faq/windows.rst:241
372+ #: ../../faq/windows.rst:239
375373msgid ""
376374"Alas, Py_None is a macro that expands to a reference to a complex data "
377375"structure called _Py_NoneStruct inside pythonNN.dll. Again, this code will "
@@ -380,7 +378,7 @@ msgstr ""
380378"ああ、Py_none は pythonNN.dll 内の _Py_NoneStruct "
381379"という複雑なデータ構造に展開するマクロです。また、このコードは他コンパイラ環境では失敗します。このコードを次のように置き換えてください:"
382380
383- #: ../../faq/windows.rst:249
381+ #: ../../faq/windows.rst:247
384382msgid ""
385383"It may be possible to use SWIG's ``%typemap`` command to make the change "
386384"automatically, though I have not been able to get this to work (I'm a "
@@ -389,7 +387,7 @@ msgstr ""
389387"これで、SWIG をまだ仕事に使えない (私は SWIG の完全な初心者です) 私でも、SWIG の ``%typemap`` "
390388"コマンドを使って自動的に変更できるようになります。"
391389
392- #: ../../faq/windows.rst:253
390+ #: ../../faq/windows.rst:251
393391msgid ""
394392"Using a Python shell script to put up a Python interpreter window from "
395393"inside your Windows app is not a good idea; the resulting window will be "
@@ -406,11 +404,11 @@ msgstr ""
406404"インタプリタにつなぐのは簡単です。Python の i/o は読み書きをサポートする _どんな_ オブジェクトにもリダイレクトできるので、read() "
407405"と write() メソッドを含む (拡張モジュールで定義された) Python オブジェクトさえあればいいのです。"
408406
409- #: ../../faq/windows.rst:262
407+ #: ../../faq/windows.rst:260
410408msgid "How do I keep editors from inserting tabs into my Python source?"
411409msgstr "エディタが Python ソースにタブを勝手に挿入しないようにするにはどうしますか?"
412410
413- #: ../../faq/windows.rst:264
411+ #: ../../faq/windows.rst:262
414412msgid ""
415413"The FAQ does not recommend using tabs, and the Python style guide, :pep:`8`,"
416414" recommends 4 spaces for distributed Python code; this is also the Emacs "
@@ -419,7 +417,7 @@ msgstr ""
419417"この FAQ ではタブを使うことを勧めません。Python スタイルガイド :pep:`8` では、配布される Python コードにはスペース 4 "
420418"つを使うことを推奨しています。これは Emacs の python-mode のデフォルトでも同じです。"
421419
422- #: ../../faq/windows.rst:268
420+ #: ../../faq/windows.rst:266
423421msgid ""
424422"Under any editor, mixing tabs and spaces is a bad idea. MSVC is no "
425423"different in this respect, and is easily configured to use spaces: Take "
@@ -431,7 +429,7 @@ msgstr ""
431429":menuselection:`Tools --> Options --> Tabs` を選択し、ファイルタイプの \" デフォルト\" の "
432430"\" タブ幅\" と \" インデント幅\" に 4 を設定して、 \" スペースを挿入する\" のラジオボタンを選択してください。"
433431
434- #: ../../faq/windows.rst:273
432+ #: ../../faq/windows.rst:271
435433msgid ""
436434"Python raises :exc:`IndentationError` or :exc:`TabError` if mixed tabs and "
437435"spaces are causing problems in leading whitespace. You may also run the "
@@ -440,11 +438,11 @@ msgstr ""
440438"Python は、もしタブとスペースが混在していることで先頭の空白に問題がある場合、:exc:`IndentationError` または :exc:`TabError` を送出します。\n"
441439":mod:`tabnanny` モジュールを実行することで、ディレクトリーツリーをバッチモードでチェックすることができます。"
442440
443- #: ../../faq/windows.rst:280
441+ #: ../../faq/windows.rst:278
444442msgid "How do I check for a keypress without blocking?"
445443msgstr "ブロックすることなく押鍵を検出するにはどうしますか?"
446444
447- #: ../../faq/windows.rst:282
445+ #: ../../faq/windows.rst:280
448446msgid ""
449447"Use the :mod:`msvcrt` module. This is a standard Windows-specific extension"
450448" module. It defines a function ``kbhit()`` which checks whether a keyboard "
0 commit comments