-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathmarshal.po
157 lines (142 loc) · 7.34 KB
/
marshal.po
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2020, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# tomo, 2019
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-02-09 18:48+0900\n"
"PO-Revision-Date: 2018-06-29 17:50+0000\n"
"Last-Translator: tomo, 2019\n"
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/"
"ja/)\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../c-api/marshal.rst:6
msgid "Data marshalling support"
msgstr "データ整列化 (data marshalling) のサポート"
#: ../../c-api/marshal.rst:8
msgid ""
"These routines allow C code to work with serialized objects using the same "
"data format as the :mod:`marshal` module. There are functions to write data "
"into the serialization format, and additional functions that can be used to "
"read the data back. Files used to store marshalled data must be opened in "
"binary mode."
msgstr ""
"以下のルーチン群は、 :mod:`marshal` モジュールと同じ形式を使った整列化オブ"
"ジェクトを C コードから使えるようにします。整列化形式でデータを書き出す関数に"
"加えて、データを読み戻す関数もあります。整列化されたデータを記録するファイル"
"はバイナリモードで開かれていなければなりません。"
#: ../../c-api/marshal.rst:14
msgid "Numeric values are stored with the least significant byte first."
msgstr "数値は最小桁が先にくるように記録されます。"
#: ../../c-api/marshal.rst:16
msgid ""
"The module supports two versions of the data format: version 0 is the "
"historical version, version 1 shares interned strings in the file, and upon "
"unmarshalling. Version 2 uses a binary format for floating point numbers. "
"*Py_MARSHAL_VERSION* indicates the current file format (currently 2)."
msgstr ""
"このモジュールでは、3つのバージョンのデータ形式をサポートしています。バージョ"
"ン 0 は従来のもので、バージョン 1 は intern 化された文字列をファイル内で共有"
"し、逆マーシャル化の時にも共有されるようにします。バージョン2は、浮動小数点数"
"に対してバイナリフォーマットを利用します。*Py_MARSHAL_VERSION* は現在のバー"
"ジョン (バージョン 2) を示します。"
#: ../../c-api/marshal.rst:24
msgid ""
"Marshal a :c:type:`long` integer, *value*, to *file*. This will only write "
"the least-significant 32 bits of *value*; regardless of the size of the "
"native :c:type:`long` type. *version* indicates the file format."
msgstr ""
":c:type:`long` 型の整数値 *value* を *file* へ整列化します。この関数は "
"*value* の下桁 32 ビットを書き込むだけです; ネイティブの :c:type:`long` 型サ"
"イズには関知しません。 *version* はファイルフォーマットを示します。"
#: ../../c-api/marshal.rst:31
msgid ""
"Marshal a Python object, *value*, to *file*. *version* indicates the file "
"format."
msgstr ""
"Python オブジェクト *value* を *file* へ整列化します。*version* はファイル"
"フォーマットを示します。"
#: ../../c-api/marshal.rst:37
msgid ""
"Return a bytes object containing the marshalled representation of *value*. "
"*version* indicates the file format."
msgstr ""
"*value* の整列化表現が入ったバイト列オブジェクトを返します。*version* はファ"
"イルフォーマットを示します。"
#: ../../c-api/marshal.rst:41
msgid "The following functions allow marshalled values to be read back in."
msgstr "以下の関数を使うと、整列化された値を読み戻せます。"
#: ../../c-api/marshal.rst:46
msgid ""
"Return a C :c:type:`long` from the data stream in a :c:type:`FILE\\*` opened "
"for reading. Only a 32-bit value can be read in using this function, "
"regardless of the native size of :c:type:`long`."
msgstr ""
"読み出し用に開かれた :c:type:`FILE\\*` 内のデータストリームから、 C の :c:"
"type:`long` 型データを読み出して返します。この関数は、ネイティブの :c:type:"
"`long` のサイズに関係なく、 32 ビットの値だけを読み出せます。"
#: ../../c-api/marshal.rst:50 ../../c-api/marshal.rst:60
msgid ""
"On error, sets the appropriate exception (:exc:`EOFError`) and returns "
"``-1``."
msgstr ""
"エラーの場合、適切な例外 (:exc:`EOFError`) を設定し ``-1`` を返します。"
#: ../../c-api/marshal.rst:56
msgid ""
"Return a C :c:type:`short` from the data stream in a :c:type:`FILE\\*` "
"opened for reading. Only a 16-bit value can be read in using this function, "
"regardless of the native size of :c:type:`short`."
msgstr ""
"読み出し用に開かれた :c:type:`FILE\\*` 内のデータストリームから、 C の :c:"
"type:`short` 型データを読み出して返します。この関数は、ネイティブの :c:type:"
"`short` のサイズに関係なく、 16 ビットの値だけを読み出せます。"
#: ../../c-api/marshal.rst:66
msgid ""
"Return a Python object from the data stream in a :c:type:`FILE\\*` opened "
"for reading."
msgstr ""
"読み出し用に開かれた :c:type:`FILE\\*` 内のデータストリームから Python オブ"
"ジェクトを返します。"
#: ../../c-api/marshal.rst:69 ../../c-api/marshal.rst:83
#: ../../c-api/marshal.rst:92
msgid ""
"On error, sets the appropriate exception (:exc:`EOFError`, :exc:`ValueError` "
"or :exc:`TypeError`) and returns *NULL*."
msgstr ""
"エラーの場合、適切な例外 (:exc:`EOFError`, :exc:`ValueError`, exc:"
"`TypeError`) を設定し *NULL* を返します。"
#: ../../c-api/marshal.rst:75
msgid ""
"Return a Python object from the data stream in a :c:type:`FILE\\*` opened "
"for reading. Unlike :c:func:`PyMarshal_ReadObjectFromFile`, this function "
"assumes that no further objects will be read from the file, allowing it to "
"aggressively load file data into memory so that the de-serialization can "
"operate from data in memory rather than reading a byte at a time from the "
"file. Only use these variant if you are certain that you won't be reading "
"anything else from the file."
msgstr ""
"読み出し用に開かれた :c:type:`FILE\\*` 内のデータストリームから、 Python オブ"
"ジェクトを読み出して返します。 :c:func:`PyMarshal_ReadObjectFromFile` と違"
"い、この関数はファイル中に後続のオブジェクトが存在しないと仮定し、ファイルか"
"らメモリ上にファイルデータを一気にメモリにロードして、逆整列化機構がファイル"
"から一バイトづつ読み出す代わりにメモリ上のデータを操作できるようにします。対"
"象のファイルから他に何も読み出さないと分かっている場合にのみ、この関数を使っ"
"てください。"
#: ../../c-api/marshal.rst:89
msgid ""
"Return a Python object from the data stream in a byte buffer containing "
"*len* bytes pointed to by *data*."
msgstr ""
"*data* が指す *len* バイトのバイト列バッファ内のデータストリームから Python "
"オブジェクトを返します。"