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 ""
47
47
"Return true if the object *o* is a bytearray object or an instance of a "
48
48
"subtype of the bytearray type. This function always succeeds."
49
49
msgstr ""
50
+ "オブジェクト *o* が bytearray オブジェクトか bytearray "
51
+ "型のサブタイプのインスタンスである場合に真を返します。この関数は常に成功します。"
50
52
51
53
#: ../../c-api/bytearray.rst:33
52
54
msgid ""
53
55
"Return true if the object *o* is a bytearray object, but not an instance of "
54
56
"a subtype of the bytearray type. This function always succeeds."
55
57
msgstr ""
58
+ "オブジェクト *o* が bytearray オブジェクトだが bytearray "
59
+ "型のサブタイプのインスタンスでない場合に真を返します。この関数は常に成功します。"
56
60
57
61
#: ../../c-api/bytearray.rst:38
58
62
msgid "Direct API functions"
Original file line number Diff line number Diff line change @@ -50,12 +50,14 @@ msgid ""
50
50
"Return true if the object *o* is a bytes object or an instance of a subtype "
51
51
"of the bytes type. This function always succeeds."
52
52
msgstr ""
53
+ "オブジェクト *o* が bytes オブジェクトか bytes 型のサブタイプのインスタンスである場合に真を返します。この関数は常に成功します。"
53
54
54
55
#: ../../c-api/bytes.rst:33
55
56
msgid ""
56
57
"Return true if the object *o* is a bytes object, but not an instance of a "
57
58
"subtype of the bytes type. This function always succeeds."
58
59
msgstr ""
60
+ "オブジェクト *o* が bytes オブジェクトだが bytes 型のサブタイプのインスタンスでない場合に真を返します。この関数は常に成功します。"
59
61
60
62
#: ../../c-api/bytes.rst:39
61
63
msgid ""
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ msgid ""
39
39
"regular import mechanism can be used to access C APIs defined in dynamically"
40
40
" loaded modules."
41
41
msgstr ""
42
+ "この :c:type:`PyObject` のサブタイプは、任意の値を表し、C拡張モジュールから "
43
+ "Pythonコードを経由して他のC言語のコードに任意の値を(:c:type:`void*` "
44
+ "ポインタの形で)渡す必要があるときに有用です。あるモジュール内で定義されているC言語関数のポインタを、他のモジュールに渡してそこから呼び出せるようにするためによく使われます。これにより、動的にロードされるモジュールの中の"
45
+ " C API に通常の import 機構を通してアクセスすることができます。"
42
46
43
47
#: ../../c-api/capsule.rst:27
44
48
msgid "The type of a destructor callback for a capsule. Defined as::"
@@ -55,7 +59,7 @@ msgstr ""
55
59
msgid ""
56
60
"Return true if its argument is a :c:type:`PyCapsule`. This function always "
57
61
"succeeds."
58
- msgstr ""
62
+ msgstr "引数が :c:type:`PyCapsule` の場合に真を返します。この関数は常に成功します。 "
59
63
60
64
#: ../../c-api/capsule.rst:43
61
65
msgid ""
Original file line number Diff line number Diff line change @@ -36,6 +36,12 @@ msgid ""
36
36
"reporting in the interpreter; third-party code is advised to access the "
37
37
":mod:`io` APIs instead."
38
38
msgstr ""
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
+ "を使うことが推奨されます。"
39
45
40
46
#: ../../c-api/file.rst:22
41
47
msgid ""
Original file line number Diff line number Diff line change @@ -44,12 +44,16 @@ msgid ""
44
44
"Return true if its argument is a :c:type:`PyFloatObject` or a subtype of "
45
45
":c:type:`PyFloatObject`. This function always succeeds."
46
46
msgstr ""
47
+ "引数が :c:type:`PyFloatObject` か :c:type:`PyFloatObject` "
48
+ "のサブタイプであるときに真を返します。この関数は常に成功します。"
47
49
48
50
#: ../../c-api/float.rst:30
49
51
msgid ""
50
52
"Return true if its argument is a :c:type:`PyFloatObject`, but not a subtype "
51
53
"of :c:type:`PyFloatObject`. This function always succeeds."
52
54
msgstr ""
55
+ "引数が :c:type:`PyFloatObject` であるが :c:type:`PyFloatObject` "
56
+ "のサブタイプでないときに真を返します。この関数は常に成功します。"
53
57
54
58
#: ../../c-api/float.rst:36
55
59
msgid ""
Original file line number Diff line number Diff line change @@ -48,13 +48,16 @@ msgstr "ジェネレータオブジェクトに対応する型オブジェクト
48
48
msgid ""
49
49
"Return true if *ob* is a generator object; *ob* must not be ``NULL``. This "
50
50
"function always succeeds."
51
- msgstr ""
51
+ msgstr "*ob* がジェネレータオブジェクトの場合に真を返ます、 *ob* は ``NULL`` であってはなりません。この関数は常に成功します。 "
52
52
53
53
#: ../../c-api/gen.rst:31
54
54
msgid ""
55
55
"Return true if *ob*'s type is :c:type:`PyGen_Type`; *ob* must not be "
56
56
"``NULL``. This function always succeeds."
57
57
msgstr ""
58
+ "*ob* が :c:type:`PyGen_Type` の場合に真を返します。\n"
59
+ "*o* は ``NULL`` であってはなりません。\n"
60
+ "この関数は常に成功します。"
58
61
59
62
#: ../../c-api/gen.rst:37
60
63
msgid ""
Original file line number Diff line number Diff line change 4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
6
6
# Translators:
7
- # tomo, 2021
8
7
# Osamu NAKAMURA, 2021
9
8
# mollinaca, 2021
9
+ # tomo, 2021
10
10
#
11
11
#, fuzzy
12
12
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
15
15
"Report-Msgid-Bugs-To : \n "
16
16
"POT-Creation-Date : 2021-06-29 12:56+0000\n "
17
17
"PO-Revision-Date : 2021-06-28 00:48+0000\n "
18
- "Last-Translator : mollinaca , 2021\n "
18
+ "Last-Translator : tomo , 2021\n "
19
19
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
20
20
"MIME-Version : 1.0\n "
21
21
"Content-Type : text/plain; charset=UTF-8\n "
@@ -408,6 +408,11 @@ msgid ""
408
408
"no modules are added to the internal table. This must be called before "
409
409
":c:func:`Py_Initialize`."
410
410
msgstr ""
411
+ "組み込みモジュールのテーブルに一群のモジュールを追加します。\n"
412
+ "配列 *newtab* は :attr:`name` フィールドが ``NULL`` になっているセンチネル (sentinel) エントリで終端されていなければなりません。センチネル値を与えられなかった場合にはメモリ違反になるかもしれません。\n"
413
+ "成功すると ``0`` を、内部テーブルを拡張するのに十分なメモリを確保できなかった場合には ``-1`` を返します。\n"
414
+ "操作が失敗した場合、モジュールは一切内部テーブルに追加されません。\n"
415
+ ":c:func:`Py_Initialize` よりも前に呼び出さなければなりません。"
411
416
412
417
#: ../../c-api/import.rst:304
413
418
msgid ""
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ msgstr ""
379
379
msgid ""
380
380
"We have introduced another action, \" count\" , to count the number of "
381
381
"occurrences of specific options."
382
- msgstr ""
382
+ msgstr "もう一つの action である \" count \" を紹介します。これは指定されたオプションの出現回数を数えます: "
383
383
384
384
#: ../../howto/argparse.rst:499
385
385
msgid ""
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ msgstr ""
54
54
55
55
#: ../../library/crypt.rst:34
56
56
msgid ":ref:`Availability <availability>`: Unix. Not available on VxWorks."
57
- msgstr ""
57
+ msgstr ":ref:`利用可能環境 <availability>`: Unix。VxWorksでは使えません。 "
58
58
59
59
#: ../../library/crypt.rst:36
60
60
msgid "Hashing Methods"
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ msgid ""
45
45
"string describing the image type. If optional *h* is provided, the *file* "
46
46
"argument is ignored and *h* is assumed to contain the byte stream to test."
47
47
msgstr ""
48
+ "*file* という名前のファイル内の画像データをテストし、画像形式を表す文字列を返します。オプションの *h* が与えられた場合は、*file* "
49
+ "引数は無視され、テストするバイトストリームを含んでいると *h* は仮定されます。"
48
50
49
51
#: ../../library/imghdr.rst:23
50
52
msgid "Accepts a :term:`path-like object`."
You can’t perform that action at this time.
0 commit comments