Skip to content

Commit 20f0089

Browse files
committed
Sinkronisasi dengan Transifex 20191031.
1 parent 14d355b commit 20f0089

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+7459
-7281
lines changed

c-api/arg.po

Lines changed: 40 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.8\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
14+
"POT-Creation-Date: 2019-10-31 11:48+0000\n"
1515
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
1616
"Last-Translator: oon arfiandwi <oon.arfiandwi@gmail.com>, 2019\n"
1717
"Language-Team: Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n"
@@ -93,8 +93,8 @@ msgstr ""
9393
msgid ""
9494
"Some formats require a read-only :term:`bytes-like object`, and set a "
9595
"pointer instead of a buffer structure. They work by checking that the "
96-
"object's :c:member:`PyBufferProcs.bf_releasebuffer` field is *NULL*, which "
97-
"disallows mutable objects such as :class:`bytearray`."
96+
"object's :c:member:`PyBufferProcs.bf_releasebuffer` field is ``NULL``, which"
97+
" disallows mutable objects such as :class:`bytearray`."
9898
msgstr ""
9999

100100
#: ../../c-api/arg.rst:58
@@ -171,7 +171,7 @@ msgstr "``z`` (:class:`str` atau ``None``) [const char \\*]"
171171
#: ../../c-api/arg.rst:101
172172
msgid ""
173173
"Like ``s``, but the Python object may also be ``None``, in which case the C "
174-
"pointer is set to *NULL*."
174+
"pointer is set to ``NULL``."
175175
msgstr ""
176176

177177
#: ../../c-api/arg.rst:106
@@ -183,7 +183,7 @@ msgstr ""
183183
#: ../../c-api/arg.rst:105
184184
msgid ""
185185
"Like ``s*``, but the Python object may also be ``None``, in which case the "
186-
"``buf`` member of the :c:type:`Py_buffer` structure is set to *NULL*."
186+
"``buf`` member of the :c:type:`Py_buffer` structure is set to ``NULL``."
187187
msgstr ""
188188

189189
#: ../../c-api/arg.rst:110
@@ -195,7 +195,7 @@ msgstr ""
195195
#: ../../c-api/arg.rst:109
196196
msgid ""
197197
"Like ``s#``, but the Python object may also be ``None``, in which case the C"
198-
" pointer is set to *NULL*."
198+
" pointer is set to ``NULL``."
199199
msgstr ""
200200

201201
#: ../../c-api/arg.rst:120
@@ -299,7 +299,7 @@ msgstr "``Z`` (:class:`str` atau ``None``) [const Py_UNICODE \\*]"
299299
#: ../../c-api/arg.rst:168
300300
msgid ""
301301
"Like ``u``, but the Python object may also be ``None``, in which case the "
302-
":c:type:`Py_UNICODE` pointer is set to *NULL*."
302+
":c:type:`Py_UNICODE` pointer is set to ``NULL``."
303303
msgstr ""
304304

305305
#: ../../c-api/arg.rst:181
@@ -309,7 +309,7 @@ msgstr "``Z#`` (:class:`str` atau ``None``) [const Py_UNICODE \\*, int]"
309309
#: ../../c-api/arg.rst:176
310310
msgid ""
311311
"Like ``u#``, but the Python object may also be ``None``, in which case the "
312-
":c:type:`Py_UNICODE` pointer is set to *NULL*."
312+
":c:type:`Py_UNICODE` pointer is set to ``NULL``."
313313
msgstr ""
314314

315315
#: ../../c-api/arg.rst:186
@@ -349,12 +349,12 @@ msgstr ""
349349
msgid ""
350350
"This format requires two arguments. The first is only used as input, and "
351351
"must be a :c:type:`const char\\*` which points to the name of an encoding as"
352-
" a NUL-terminated string, or *NULL*, in which case ``'utf-8'`` encoding is "
353-
"used. An exception is raised if the named encoding is not known to Python. "
354-
"The second argument must be a :c:type:`char\\*\\*`; the value of the pointer"
355-
" it references will be set to a buffer with the contents of the argument "
356-
"text. The text will be encoded in the encoding specified by the first "
357-
"argument."
352+
" a NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is"
353+
" used. An exception is raised if the named encoding is not known to Python."
354+
" The second argument must be a :c:type:`char\\*\\*`; the value of the "
355+
"pointer it references will be set to a buffer with the contents of the "
356+
"argument text. The text will be encoded in the encoding specified by the "
357+
"first argument."
358358
msgstr ""
359359

360360
#: ../../c-api/arg.rst:206
@@ -399,8 +399,8 @@ msgstr ""
399399
msgid ""
400400
"It requires three arguments. The first is only used as input, and must be a"
401401
" :c:type:`const char\\*` which points to the name of an encoding as a NUL-"
402-
"terminated string, or *NULL*, in which case ``'utf-8'`` encoding is used. An"
403-
" exception is raised if the named encoding is not known to Python. The "
402+
"terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is used. "
403+
"An exception is raised if the named encoding is not known to Python. The "
404404
"second argument must be a :c:type:`char\\*\\*`; the value of the pointer it "
405405
"references will be set to a buffer with the contents of the argument text. "
406406
"The text will be encoded in the encoding specified by the first argument. "
@@ -414,18 +414,18 @@ msgstr "Ada dua mode operasi:"
414414

415415
#: ../../c-api/arg.rst:233
416416
msgid ""
417-
"If *\\*buffer* points a *NULL* pointer, the function will allocate a buffer "
418-
"of the needed size, copy the encoded data into this buffer and set "
417+
"If *\\*buffer* points a ``NULL`` pointer, the function will allocate a "
418+
"buffer of the needed size, copy the encoded data into this buffer and set "
419419
"*\\*buffer* to reference the newly allocated storage. The caller is "
420420
"responsible for calling :c:func:`PyMem_Free` to free the allocated buffer "
421421
"after usage."
422422
msgstr ""
423423

424424
#: ../../c-api/arg.rst:238
425425
msgid ""
426-
"If *\\*buffer* points to a non-*NULL* pointer (an already allocated buffer),"
427-
" :c:func:`PyArg_ParseTuple` will use this location as the buffer and "
428-
"interpret the initial value of *\\*buffer_length* as the buffer size. It "
426+
"If *\\*buffer* points to a non-``NULL`` pointer (an already allocated "
427+
"buffer), :c:func:`PyArg_ParseTuple` will use this location as the buffer and"
428+
" interpret the initial value of *\\*buffer_length* as the buffer size. It "
429429
"will then copy the encoded data into the buffer and NUL-terminate it. If "
430430
"the buffer is not large enough, a :exc:`ValueError` will be set."
431431
msgstr ""
@@ -614,7 +614,7 @@ msgstr "``O`` (object) [PyObject \\*]"
614614
msgid ""
615615
"Store a Python object (without any conversion) in a C object pointer. The C"
616616
" program thus receives the actual object that was passed. The object's "
617-
"reference count is not increased. The pointer stored is not *NULL*."
617+
"reference count is not increased. The pointer stored is not ``NULL``."
618618
msgstr ""
619619

620620
#: ../../c-api/arg.rst:327
@@ -657,7 +657,7 @@ msgid ""
657657
"If the *converter* returns ``Py_CLEANUP_SUPPORTED``, it may get called a "
658658
"second time if the argument parsing eventually fails, giving the converter a"
659659
" chance to release any memory that it had already allocated. In this second "
660-
"call, the *object* parameter will be NULL; *address* will have the same "
660+
"call, the *object* parameter will be ``NULL``; *address* will have the same "
661661
"value as in the original call."
662662
msgstr ""
663663

@@ -799,9 +799,10 @@ msgstr ""
799799
msgid ""
800800
"Parse the parameters of a function that takes both positional and keyword "
801801
"parameters into local variables. The *keywords* argument is a "
802-
"*NULL*-terminated array of keyword parameter names. Empty names denote :ref"
803-
":`positional-only parameters <positional-only_parameter>`. Returns true on "
804-
"success; on failure, it returns false and raises the appropriate exception."
802+
"``NULL``-terminated array of keyword parameter names. Empty names denote "
803+
":ref:`positional-only parameters <positional-only_parameter>`. Returns true "
804+
"on success; on failure, it returns false and raises the appropriate "
805+
"exception."
805806
msgstr ""
806807

807808
#: ../../c-api/arg.rst:445
@@ -872,8 +873,8 @@ msgstr "Membangun nilai"
872873
msgid ""
873874
"Create a new value based on a format string similar to those accepted by the"
874875
" :c:func:`PyArg_Parse\\*` family of functions and a sequence of values. "
875-
"Returns the value or *NULL* in the case of an error; an exception will be "
876-
"raised if *NULL* is returned."
876+
"Returns the value or ``NULL`` in the case of an error; an exception will be "
877+
"raised if ``NULL`` is returned."
877878
msgstr ""
878879

879880
#: ../../c-api/arg.rst:526
@@ -918,7 +919,7 @@ msgstr "``s`` (:class:`str` atau ``None``) [const char \\*]"
918919
#: ../../c-api/arg.rst:549
919920
msgid ""
920921
"Convert a null-terminated C string to a Python :class:`str` object using "
921-
"``'utf-8'`` encoding. If the C string pointer is *NULL*, ``None`` is used."
922+
"``'utf-8'`` encoding. If the C string pointer is ``NULL``, ``None`` is used."
922923
msgstr ""
923924

924925
#: ../../c-api/arg.rst:555
@@ -928,7 +929,7 @@ msgstr "``s#`` (:class:`str` atau ``None``) [const char \\*, int]"
928929
#: ../../c-api/arg.rst:553
929930
msgid ""
930931
"Convert a C string and its length to a Python :class:`str` object using "
931-
"``'utf-8'`` encoding. If the C string pointer is *NULL*, the length is "
932+
"``'utf-8'`` encoding. If the C string pointer is ``NULL``, the length is "
932933
"ignored and ``None`` is returned."
933934
msgstr ""
934935

@@ -939,7 +940,7 @@ msgstr "``y`` (:class:`bytes`) [const char \\*]"
939940
#: ../../c-api/arg.rst:558
940941
msgid ""
941942
"This converts a C string to a Python :class:`bytes` object. If the C string"
942-
" pointer is *NULL*, ``None`` is returned."
943+
" pointer is ``NULL``, ``None`` is returned."
943944
msgstr ""
944945

945946
#: ../../c-api/arg.rst:563
@@ -949,7 +950,7 @@ msgstr "``y#`` (:class:`bytes`) [const char \\*, int]"
949950
#: ../../c-api/arg.rst:562
950951
msgid ""
951952
"This converts a C string and its lengths to a Python object. If the C "
952-
"string pointer is *NULL*, ``None`` is returned."
953+
"string pointer is ``NULL``, ``None`` is returned."
953954
msgstr ""
954955

955956
#: ../../c-api/arg.rst:566 ../../c-api/arg.rst:582
@@ -972,7 +973,7 @@ msgstr "``u`` (:class:`str`) [const wchar_t \\*]"
972973
msgid ""
973974
"Convert a null-terminated :c:type:`wchar_t` buffer of Unicode (UTF-16 or "
974975
"UCS-4) data to a Python Unicode object. If the Unicode buffer pointer is "
975-
"*NULL*, ``None`` is returned."
976+
"``NULL``, ``None`` is returned."
976977
msgstr ""
977978

978979
#: ../../c-api/arg.rst:579
@@ -982,7 +983,7 @@ msgstr "``u#`` (:class:`str`) [const wchar_t \\*, int]"
982983
#: ../../c-api/arg.rst:577
983984
msgid ""
984985
"Convert a Unicode (UTF-16 or UCS-4) data buffer and its length to a Python "
985-
"Unicode object. If the Unicode buffer pointer is *NULL*, the length is "
986+
"Unicode object. If the Unicode buffer pointer is ``NULL``, the length is "
986987
"ignored and ``None`` is returned."
987988
msgstr ""
988989

@@ -1077,11 +1078,11 @@ msgstr ""
10771078
#: ../../c-api/arg.rst:638
10781079
msgid ""
10791080
"Pass a Python object untouched (except for its reference count, which is "
1080-
"incremented by one). If the object passed in is a *NULL* pointer, it is "
1081+
"incremented by one). If the object passed in is a ``NULL`` pointer, it is "
10811082
"assumed that this was caused because the call producing the argument found "
10821083
"an error and set an exception. Therefore, :c:func:`Py_BuildValue` will "
1083-
"return *NULL* but won't raise an exception. If no exception has been raised"
1084-
" yet, :exc:`SystemError` is set."
1084+
"return ``NULL`` but won't raise an exception. If no exception has been "
1085+
"raised yet, :exc:`SystemError` is set."
10851086
msgstr ""
10861087

10871088
#: ../../c-api/arg.rst:646
@@ -1108,7 +1109,7 @@ msgid ""
11081109
"Convert *anything* to a Python object through a *converter* function. The "
11091110
"function is called with *anything* (which should be compatible with "
11101111
":c:type:`void \\*`) as its argument and should return a \"new\" Python "
1111-
"object, or *NULL* if an error occurred."
1112+
"object, or ``NULL`` if an error occurred."
11121113
msgstr ""
11131114

11141115
#: ../../c-api/arg.rst:660
@@ -1141,7 +1142,7 @@ msgstr ""
11411142
#: ../../c-api/arg.rst:670
11421143
msgid ""
11431144
"If there is an error in the format string, the :exc:`SystemError` exception "
1144-
"is set and *NULL* returned."
1145+
"is set and ``NULL`` returned."
11451146
msgstr ""
11461147

11471148
#: ../../c-api/arg.rst:675

c-api/buffer.po

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.8\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2019-09-12 11:28+0000\n"
14+
"POT-Creation-Date: 2019-10-31 11:48+0000\n"
1515
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
1616
"Last-Translator: oon arfiandwi <oon.arfiandwi@gmail.com>, 2019\n"
1717
"Language-Team: Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n"
@@ -153,7 +153,7 @@ msgstr ""
153153
#: ../../c-api/buffer.rst:104
154154
msgid ""
155155
"A new reference to the exporting object. The reference is owned by the "
156-
"consumer and automatically decremented and set to *NULL* by "
156+
"consumer and automatically decremented and set to ``NULL`` by "
157157
":c:func:`PyBuffer_Release`. The field is the equivalent of the return value "
158158
"of any standard C-API function."
159159
msgstr ""
@@ -162,7 +162,7 @@ msgstr ""
162162
msgid ""
163163
"As a special case, for *temporary* buffers that are wrapped by "
164164
":c:func:`PyMemoryView_FromBuffer` or :c:func:`PyBuffer_FillInfo` this field "
165-
"is *NULL*. In general, exporting objects MUST NOT use this scheme."
165+
"is ``NULL``. In general, exporting objects MUST NOT use this scheme."
166166
msgstr ""
167167

168168
#: ../../c-api/buffer.rst:116
@@ -190,15 +190,15 @@ msgstr ""
190190
#: ../../c-api/buffer.rst:132
191191
msgid ""
192192
"Item size in bytes of a single element. Same as the value of "
193-
":func:`struct.calcsize` called on non-NULL :c:member:`~Py_buffer.format` "
194-
"values."
193+
":func:`struct.calcsize` called on non-``NULL`` :c:member:`~Py_buffer.format`"
194+
" values."
195195
msgstr ""
196196

197197
#: ../../c-api/buffer.rst:135
198198
msgid ""
199199
"Important exception: If a consumer requests a buffer without the "
200200
":c:macro:`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` will be set to "
201-
"*NULL*, but :c:member:`~Py_buffer.itemsize` still has the value for the "
201+
"``NULL``, but :c:member:`~Py_buffer.itemsize` still has the value for the "
202202
"original format."
203203
msgstr ""
204204

@@ -211,7 +211,7 @@ msgstr ""
211211

212212
#: ../../c-api/buffer.rst:144
213213
msgid ""
214-
"If :c:member:`~Py_buffer.shape` is *NULL* as a result of a "
214+
"If :c:member:`~Py_buffer.shape` is ``NULL`` as a result of a "
215215
":c:macro:`PyBUF_SIMPLE` or a :c:macro:`PyBUF_WRITABLE` request, the consumer"
216216
" must disregard :c:member:`~Py_buffer.itemsize` and assume ``itemsize == "
217217
"1``."
@@ -220,8 +220,8 @@ msgstr ""
220220
#: ../../c-api/buffer.rst:150
221221
msgid ""
222222
"A *NUL* terminated string in :mod:`struct` module style syntax describing "
223-
"the contents of a single item. If this is *NULL*, ``\"B\"`` (unsigned bytes)"
224-
" is assumed."
223+
"the contents of a single item. If this is ``NULL``, ``\"B\"`` (unsigned "
224+
"bytes) is assumed."
225225
msgstr ""
226226

227227
#: ../../c-api/buffer.rst:154
@@ -234,7 +234,7 @@ msgid ""
234234
" it is ``0``, :c:member:`~Py_buffer.buf` points to a single item "
235235
"representing a scalar. In this case, :c:member:`~Py_buffer.shape`, "
236236
":c:member:`~Py_buffer.strides` and :c:member:`~Py_buffer.suboffsets` MUST be"
237-
" *NULL*."
237+
" ``NULL``."
238238
msgstr ""
239239

240240
#: ../../c-api/buffer.rst:163
@@ -292,7 +292,7 @@ msgstr ""
292292
#: ../../c-api/buffer.rst:201
293293
msgid ""
294294
"If all suboffsets are negative (i.e. no de-referencing is needed), then this"
295-
" field must be NULL (the default value)."
295+
" field must be ``NULL`` (the default value)."
296296
msgstr ""
297297

298298
#: ../../c-api/buffer.rst:204
@@ -359,7 +359,7 @@ msgstr ""
359359
#: ../../c-api/buffer.rst:250
360360
msgid ""
361361
"Controls the :c:member:`~Py_buffer.format` field. If set, this field MUST be"
362-
" filled in correctly. Otherwise, this field MUST be *NULL*."
362+
" filled in correctly. Otherwise, this field MUST be ``NULL``."
363363
msgstr ""
364364

365365
#: ../../c-api/buffer.rst:254
@@ -535,13 +535,14 @@ msgid ""
535535
"If ``ndim == 0``, the memory location pointed to by "
536536
":c:member:`~Py_buffer.buf` is interpreted as a scalar of size "
537537
":c:member:`~Py_buffer.itemsize`. In that case, both "
538-
":c:member:`~Py_buffer.shape` and :c:member:`~Py_buffer.strides` are *NULL*."
538+
":c:member:`~Py_buffer.shape` and :c:member:`~Py_buffer.strides` are "
539+
"``NULL``."
539540
msgstr ""
540541

541542
#: ../../c-api/buffer.rst:354
542543
msgid ""
543-
"If :c:member:`~Py_buffer.strides` is *NULL*, the array is interpreted as a "
544-
"standard n-dimensional C-array. Otherwise, the consumer must access an "
544+
"If :c:member:`~Py_buffer.strides` is ``NULL``, the array is interpreted as a"
545+
" standard n-dimensional C-array. Otherwise, the consumer must access an "
545546
"n-dimensional array as follows:"
546547
msgstr ""
547548

@@ -570,8 +571,8 @@ msgstr ""
570571
#: ../../c-api/buffer.rst:409
571572
msgid ""
572573
"Here is a function that returns a pointer to the element in an N-D array "
573-
"pointed to by an N-dimensional index when there are both non-NULL strides "
574-
"and suboffsets::"
574+
"pointed to by an N-dimensional index when there are both non-``NULL`` "
575+
"strides and suboffsets::"
575576
msgstr ""
576577

577578
#: ../../c-api/buffer.rst:428
@@ -589,8 +590,8 @@ msgstr ""
589590
msgid ""
590591
"Send a request to *exporter* to fill in *view* as specified by *flags*. If "
591592
"the exporter cannot provide a buffer of the exact type, it MUST raise "
592-
":c:data:`PyExc_BufferError`, set :c:member:`view->obj` to *NULL* and return "
593-
"``-1``."
593+
":c:data:`PyExc_BufferError`, set :c:member:`view->obj` to ``NULL`` and "
594+
"return ``-1``."
594595
msgstr ""
595596

596597
#: ../../c-api/buffer.rst:444
@@ -686,12 +687,12 @@ msgstr ""
686687
msgid ""
687688
"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
688689
"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set "
689-
":c:member:`view->obj` to *NULL* and return ``-1``;"
690+
":c:member:`view->obj` to ``NULL`` and return ``-1``;"
690691
msgstr ""
691692

692693
#: ../../c-api/buffer.rst:521
693694
msgid ""
694695
"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`,"
695696
" *exporter* MUST be set to the exporting object and *flags* must be passed "
696-
"unmodified. Otherwise, *exporter* MUST be NULL."
697+
"unmodified. Otherwise, *exporter* MUST be ``NULL``."
697698
msgstr ""

0 commit comments

Comments
 (0)