File tree Expand file tree Collapse file tree 14 files changed +50
-14
lines changed
Expand file tree Collapse file tree 14 files changed +50
-14
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,16 @@ msgid ""
4747"Return true if the object *o* is a bytearray object or an instance of a "
4848"subtype of the bytearray type. This function always succeeds."
4949msgstr ""
50+ "オブジェクト *o* が bytearray オブジェクトか bytearray "
51+ "型のサブタイプのインスタンスである場合に真を返します。この関数は常に成功します。"
5052
5153#: ../../c-api/bytearray.rst:33
5254msgid ""
5355"Return true if the object *o* is a bytearray object, but not an instance of "
5456"a subtype of the bytearray type. This function always succeeds."
5557msgstr ""
58+ "オブジェクト *o* が bytearray オブジェクトだが bytearray "
59+ "型のサブタイプのインスタンスでない場合に真を返します。この関数は常に成功します。"
5660
5761#: ../../c-api/bytearray.rst:38
5862msgid "Direct API functions"
Original file line number Diff line number Diff line change @@ -50,12 +50,14 @@ msgid ""
5050"Return true if the object *o* is a bytes object or an instance of a subtype "
5151"of the bytes type. This function always succeeds."
5252msgstr ""
53+ "オブジェクト *o* が bytes オブジェクトか bytes 型のサブタイプのインスタンスである場合に真を返します。この関数は常に成功します。"
5354
5455#: ../../c-api/bytes.rst:33
5556msgid ""
5657"Return true if the object *o* is a bytes object, but not an instance of a "
5758"subtype of the bytes type. This function always succeeds."
5859msgstr ""
60+ "オブジェクト *o* が bytes オブジェクトだが bytes 型のサブタイプのインスタンスでない場合に真を返します。この関数は常に成功します。"
5961
6062#: ../../c-api/bytes.rst:39
6163msgid ""
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ msgid ""
3939"regular import mechanism can be used to access C APIs defined in dynamically"
4040" loaded modules."
4141msgstr ""
42+ "この :c:type:`PyObject` のサブタイプは、任意の値を表し、C拡張モジュールから "
43+ "Pythonコードを経由して他のC言語のコードに任意の値を(:c:type:`void*` "
44+ "ポインタの形で)渡す必要があるときに有用です。あるモジュール内で定義されているC言語関数のポインタを、他のモジュールに渡してそこから呼び出せるようにするためによく使われます。これにより、動的にロードされるモジュールの中の"
45+ " C API に通常の import 機構を通してアクセスすることができます。"
4246
4347#: ../../c-api/capsule.rst:27
4448msgid "The type of a destructor callback for a capsule. Defined as::"
@@ -55,7 +59,7 @@ msgstr ""
5559msgid ""
5660"Return true if its argument is a :c:type:`PyCapsule`. This function always "
5761"succeeds."
58- msgstr ""
62+ msgstr "引数が :c:type:`PyCapsule` の場合に真を返します。この関数は常に成功します。 "
5963
6064#: ../../c-api/capsule.rst:43
6165msgid ""
Original file line number Diff line number Diff line change @@ -36,6 +36,12 @@ msgid ""
3636"reporting in the interpreter; third-party code is advised to access the "
3737":mod:`io` APIs instead."
3838msgstr ""
39+ "これらの API は、 Python 2 の組み込みのファイルオブジェクトの C API を最低限エミュレートするためのものです。それらは、標準 C "
40+ "ライブラリでサポートされているバッファ付き I/O (:c:type:`FILE*`) に頼るために使われます。 Python 3 "
41+ "では、ファイルとストリームは新しい :mod:`io` モジュールを使用され、そこに OS の低レベルなバッファ付き I/O "
42+ "の上にいくつかの層が定義されています。下で解説されている関数は、それらの新しい API の便利な C "
43+ "ラッパーであり、インタプリタでの内部的なエラー通知に向いています; サードパーティーのコードは代わりに :mod:`io` の API "
44+ "を使うことが推奨されます。"
3945
4046#: ../../c-api/file.rst:22
4147msgid ""
Original file line number Diff line number Diff line change @@ -44,12 +44,16 @@ msgid ""
4444"Return true if its argument is a :c:type:`PyFloatObject` or a subtype of "
4545":c:type:`PyFloatObject`. This function always succeeds."
4646msgstr ""
47+ "引数が :c:type:`PyFloatObject` か :c:type:`PyFloatObject` "
48+ "のサブタイプであるときに真を返します。この関数は常に成功します。"
4749
4850#: ../../c-api/float.rst:30
4951msgid ""
5052"Return true if its argument is a :c:type:`PyFloatObject`, but not a subtype "
5153"of :c:type:`PyFloatObject`. This function always succeeds."
5254msgstr ""
55+ "引数が :c:type:`PyFloatObject` であるが :c:type:`PyFloatObject` "
56+ "のサブタイプでないときに真を返します。この関数は常に成功します。"
5357
5458#: ../../c-api/float.rst:36
5559msgid ""
Original file line number Diff line number Diff line change @@ -48,13 +48,16 @@ msgstr "ジェネレータオブジェクトに対応する型オブジェクト
4848msgid ""
4949"Return true if *ob* is a generator object; *ob* must not be ``NULL``. This "
5050"function always succeeds."
51- msgstr ""
51+ msgstr "*ob* がジェネレータオブジェクトの場合に真を返ます、 *ob* は ``NULL`` であってはなりません。この関数は常に成功します。 "
5252
5353#: ../../c-api/gen.rst:31
5454msgid ""
5555"Return true if *ob*'s type is :c:type:`PyGen_Type`; *ob* must not be "
5656"``NULL``. This function always succeeds."
5757msgstr ""
58+ "*ob* が :c:type:`PyGen_Type` の場合に真を返します。\n"
59+ "*o* は ``NULL`` であってはなりません。\n"
60+ "この関数は常に成功します。"
5861
5962#: ../../c-api/gen.rst:37
6063msgid ""
Original file line number Diff line number Diff line change 44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # tomo, 2021
87# Osamu NAKAMURA, 2021
98# mollinaca, 2021
9+ # tomo, 2021
1010#
1111#, fuzzy
1212msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515"Report-Msgid-Bugs-To : \n "
1616"POT-Creation-Date : 2021-06-29 12:56+0000\n "
1717"PO-Revision-Date : 2021-06-28 00:48+0000\n "
18- "Last-Translator : mollinaca , 2021\n "
18+ "Last-Translator : tomo , 2021\n "
1919"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
2020"MIME-Version : 1.0\n "
2121"Content-Type : text/plain; charset=UTF-8\n "
@@ -408,6 +408,11 @@ msgid ""
408408"no modules are added to the internal table. This must be called before "
409409":c:func:`Py_Initialize`."
410410msgstr ""
411+ "組み込みモジュールのテーブルに一群のモジュールを追加します。\n"
412+ "配列 *newtab* は :attr:`name` フィールドが ``NULL`` になっているセンチネル (sentinel) エントリで終端されていなければなりません。センチネル値を与えられなかった場合にはメモリ違反になるかもしれません。\n"
413+ "成功すると ``0`` を、内部テーブルを拡張するのに十分なメモリを確保できなかった場合には ``-1`` を返します。\n"
414+ "操作が失敗した場合、モジュールは一切内部テーブルに追加されません。\n"
415+ ":c:func:`Py_Initialize` よりも前に呼び出さなければなりません。"
411416
412417#: ../../c-api/import.rst:304
413418msgid ""
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ msgstr ""
379379msgid ""
380380"We have introduced another action, \" count\" , to count the number of "
381381"occurrences of specific options."
382- msgstr ""
382+ msgstr "もう一つの action である \" count \" を紹介します。これは指定されたオプションの出現回数を数えます: "
383383
384384#: ../../howto/argparse.rst:499
385385msgid ""
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ msgstr ""
5454
5555#: ../../library/crypt.rst:34
5656msgid ":ref:`Availability <availability>`: Unix. Not available on VxWorks."
57- msgstr ""
57+ msgstr ":ref:`利用可能環境 <availability>`: Unix。VxWorksでは使えません。 "
5858
5959#: ../../library/crypt.rst:36
6060msgid "Hashing Methods"
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ msgid ""
4545"string describing the image type. If optional *h* is provided, the *file* "
4646"argument is ignored and *h* is assumed to contain the byte stream to test."
4747msgstr ""
48+ "*file* という名前のファイル内の画像データをテストし、画像形式を表す文字列を返します。オプションの *h* が与えられた場合は、*file* "
49+ "引数は無視され、テストするバイトストリームを含んでいると *h* は仮定されます。"
4850
4951#: ../../library/imghdr.rst:23
5052msgid "Accepts a :term:`path-like object`."
You can’t perform that action at this time.
0 commit comments