| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 76623aa commit 76c81d3
16 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-11 17:24+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-09-15 17:49+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -33,71 +33,79 @@ msgstr "" | |||
| 33 | 33 | "この :c:type:`PyObject` のサブタイプは Python の bytearray オブジェクトを表し" | |
| 34 | 34 | "ます。" | |
| 35 | 35 | ||
| 36 | - #: ../../c-api/bytearray.rst:18 | ||
| 36 | + #: ../../c-api/bytearray.rst:17 | ||
| 37 | + msgid "" | ||
| 38 | + "The internal buffer of :c:type:`PyByteArrayObject` always includes an extra " | ||
| 39 | + "trailing null byte for compatibility with null terminated C strings. This " | ||
| 40 | + "extra byte is not counted in :c:func:`PyByteArray_Size` nor in the *len* " | ||
| 41 | + "arguments of the functions below." | ||
| 42 | + msgstr "" | ||
| 43 | + | ||
| 44 | + #: ../../c-api/bytearray.rst:24 | ||
| 37 | 45 | msgid "" | |
| 38 | 46 | "This instance of :c:type:`PyTypeObject` represents the Python bytearray " | |
| 39 | 47 | "type; it is the same object as :class:`bytearray` in the Python layer." | |
| 40 | 48 | msgstr "" | |
| 41 | 49 | "この :c:type:`PyTypeObject` のインスタンスは、 Python bytearray 型を示しま" | |
| 42 | 50 | "す。 Python レイヤでの :class:`bytearray` と同じオブジェクトです。" | |
| 43 | 51 | ||
| 44 | - #: ../../c-api/bytearray.rst:23 | ||
| 52 | + #: ../../c-api/bytearray.rst:29 | ||
| 45 | 53 | msgid "Type check macros" | |
| 46 | 54 | msgstr "型チェックマクロ" | |
| 47 | 55 | ||
| 48 | - #: ../../c-api/bytearray.rst:27 | ||
| 56 | + #: ../../c-api/bytearray.rst:33 | ||
| 49 | 57 | msgid "" | |
| 50 | 58 | "Return true if the object *o* is a bytearray object or an instance of a " | |
| 51 | 59 | "subtype of the bytearray type. This function always succeeds." | |
| 52 | 60 | msgstr "" | |
| 53 | 61 | "オブジェクト *o* が bytearray オブジェクトか bytearray 型のサブタイプのインス" | |
| 54 | 62 | "タンスである場合に真を返します。この関数は常に成功します。" | |
| 55 | 63 | ||
| 56 | - #: ../../c-api/bytearray.rst:33 | ||
| 64 | + #: ../../c-api/bytearray.rst:39 | ||
| 57 | 65 | msgid "" | |
| 58 | 66 | "Return true if the object *o* is a bytearray object, but not an instance of " | |
| 59 | 67 | "a subtype of the bytearray type. This function always succeeds." | |
| 60 | 68 | msgstr "" | |
| 61 | 69 | "オブジェクト *o* が bytearray オブジェクトだが bytearray 型のサブタイプのイン" | |
| 62 | 70 | "スタンスでない場合に真を返します。この関数は常に成功します。" | |
| 63 | 71 | ||
| 64 | - #: ../../c-api/bytearray.rst:38 | ||
| 72 | + #: ../../c-api/bytearray.rst:44 | ||
| 65 | 73 | msgid "Direct API functions" | |
| 66 | 74 | msgstr "ダイレクト API 関数" | |
| 67 | 75 | ||
| 68 | - #: ../../c-api/bytearray.rst:42 | ||
| 76 | + #: ../../c-api/bytearray.rst:48 | ||
| 69 | 77 | msgid "" | |
| 70 | 78 | "Return a new bytearray object from any object, *o*, that implements the :ref:" | |
| 71 | 79 | "`buffer protocol <bufferobjects>`." | |
| 72 | 80 | msgstr "" | |
| 73 | 81 | ":ref:`buffer protocol <bufferobjects>` を実装した任意のオブジェクト *o* か" | |
| 74 | 82 | "ら、新しいbytearrayオブジェクトを作成し、返します。" | |
| 75 | 83 | ||
| 76 | - #: ../../c-api/bytearray.rst:45 ../../c-api/bytearray.rst:56 | ||
| 77 | - #: ../../c-api/bytearray.rst:63 | ||
| 84 | + #: ../../c-api/bytearray.rst:51 ../../c-api/bytearray.rst:62 | ||
| 85 | + #: ../../c-api/bytearray.rst:69 | ||
| 78 | 86 | msgid "On failure, return ``NULL`` with an exception set." | |
| 79 | 87 | msgstr "" | |
| 80 | 88 | ||
| 81 | - #: ../../c-api/bytearray.rst:48 ../../c-api/bytearray.rst:66 | ||
| 89 | + #: ../../c-api/bytearray.rst:54 ../../c-api/bytearray.rst:72 | ||
| 82 | 90 | msgid "" | |
| 83 | 91 | "If the object implements the buffer protocol, then the buffer must not be " | |
| 84 | 92 | "mutated while the bytearray object is being created." | |
| 85 | 93 | msgstr "" | |
| 86 | 94 | ||
| 87 | - #: ../../c-api/bytearray.rst:54 | ||
| 95 | + #: ../../c-api/bytearray.rst:60 | ||
| 88 | 96 | msgid "Create a new bytearray object from *string* and its length, *len*." | |
| 89 | 97 | msgstr "" | |
| 90 | 98 | ||
| 91 | - #: ../../c-api/bytearray.rst:61 | ||
| 99 | + #: ../../c-api/bytearray.rst:67 | ||
| 92 | 100 | msgid "" | |
| 93 | 101 | "Concat bytearrays *a* and *b* and return a new bytearray with the result." | |
| 94 | 102 | msgstr "bytearray *a* と *b* を連結した結果を新しい bytearray として返します。" | |
| 95 | 103 | ||
| 96 | - #: ../../c-api/bytearray.rst:72 | ||
| 104 | + #: ../../c-api/bytearray.rst:78 | ||
| 97 | 105 | msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer." | |
| 98 | 106 | msgstr "``NULL`` ポインタチェックの後に *bytearray* のサイズを返します。" | |
| 99 | 107 | ||
| 100 | - #: ../../c-api/bytearray.rst:77 | ||
| 108 | + #: ../../c-api/bytearray.rst:83 | ||
| 101 | 109 | msgid "" | |
| 102 | 110 | "Return the contents of *bytearray* as a char array after checking for a " | |
| 103 | 111 | "``NULL`` pointer. The returned array always has an extra null byte appended." | |
@@ -106,39 +114,39 @@ msgstr "" | |||
| 106 | 114 | "す。\n" | |
| 107 | 115 | "返される配列には、常に余分な null バイトが追加されます。" | |
| 108 | 116 | ||
| 109 | - #: ../../c-api/bytearray.rst:82 ../../c-api/bytearray.rst:104 | ||
| 117 | + #: ../../c-api/bytearray.rst:88 ../../c-api/bytearray.rst:110 | ||
| 110 | 118 | msgid "" | |
| 111 | 119 | "It is not thread-safe to mutate the bytearray object while using the " | |
| 112 | 120 | "returned char array." | |
| 113 | 121 | msgstr "" | |
| 114 | 122 | ||
| 115 | - #: ../../c-api/bytearray.rst:87 | ||
| 123 | + #: ../../c-api/bytearray.rst:93 | ||
| 116 | 124 | msgid "" | |
| 117 | 125 | "Resize the internal buffer of *bytearray* to *len*. Failure is a ``-1`` " | |
| 118 | 126 | "return with an exception set." | |
| 119 | 127 | msgstr "" | |
| 120 | 128 | ||
| 121 | - #: ../../c-api/bytearray.rst:90 | ||
| 129 | + #: ../../c-api/bytearray.rst:96 | ||
| 122 | 130 | msgid "" | |
| 123 | 131 | "A negative *len* will now result in an exception being set and -1 returned." | |
| 124 | 132 | msgstr "" | |
| 125 | 133 | ||
| 126 | - #: ../../c-api/bytearray.rst:95 | ||
| 134 | + #: ../../c-api/bytearray.rst:101 | ||
| 127 | 135 | msgid "Macros" | |
| 128 | 136 | msgstr "マクロ" | |
| 129 | 137 | ||
| 130 | - #: ../../c-api/bytearray.rst:97 | ||
| 138 | + #: ../../c-api/bytearray.rst:103 | ||
| 131 | 139 | msgid "These macros trade safety for speed and they don't check pointers." | |
| 132 | 140 | msgstr "" | |
| 133 | 141 | "以下のマクロは、ポインタのチェックをしないことにより安全性を犠牲にしてスピー" | |
| 134 | 142 | "ドを優先しています。" | |
| 135 | 143 | ||
| 136 | - #: ../../c-api/bytearray.rst:101 | ||
| 144 | + #: ../../c-api/bytearray.rst:107 | ||
| 137 | 145 | msgid "Similar to :c:func:`PyByteArray_AsString`, but without error checking." | |
| 138 | 146 | msgstr "" | |
| 139 | 147 | ":c:func:`PyByteArray_AsString` に似ていますが、エラーチェックを行いません。" | |
| 140 | 148 | ||
| 141 | - #: ../../c-api/bytearray.rst:109 | ||
| 149 | + #: ../../c-api/bytearray.rst:115 | ||
| 142 | 150 | msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking." | |
| 143 | 151 | msgstr "" | |
| 144 | 152 | ":c:func:`PyByteArray_Size` に似ていますが、エラーチェックを行いません。" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments