# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Elmo , 2021 # oon arfiandwi , 2023 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-05-09 14:19+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: oon arfiandwi , 2023\n" "Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/id/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: id\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../../c-api/bytearray.rst:6 msgid "Byte Array Objects" msgstr "Objek Byte Array" #: ../../c-api/bytearray.rst:13 msgid "" "This subtype of :c:type:`PyObject` represents a Python bytearray object." msgstr "Subtipe dari :c:type:`PyObject` ini mewakili objek bytearray Python." #: ../../c-api/bytearray.rst:18 msgid "" "This instance of :c:type:`PyTypeObject` represents the Python bytearray " "type; it is the same object as :class:`bytearray` in the Python layer." msgstr "" "Instance dari :c:type:`PyTypeObject` mewakili tipe bytearray Python; itu " "adalah objek yang sama dengan :class:`bytearray` di lapisan Python." #: ../../c-api/bytearray.rst:23 msgid "Type check macros" msgstr "Makro cek tipe" #: ../../c-api/bytearray.rst:27 msgid "" "Return true if the object *o* is a bytearray object or an instance of a " "subtype of the bytearray type. This function always succeeds." msgstr "" "Mengembalikan nilai true jika objek *o* adalah objek bytearray atau turunan " "dari subtipe tipe bytearray. Fungsi ini selalu berhasil." #: ../../c-api/bytearray.rst:33 msgid "" "Return true if the object *o* is a bytearray object, but not an instance of " "a subtype of the bytearray type. This function always succeeds." msgstr "" "Mengembalikan nilai true jika objek *o* adalah objek bytearray, tetapi bukan" " turunan dari subtipe tipe bytearray. Fungsi ini selalu berhasil." #: ../../c-api/bytearray.rst:38 msgid "Direct API functions" msgstr "Fungsi API langsung" #: ../../c-api/bytearray.rst:42 msgid "" "Return a new bytearray object from any object, *o*, that implements the " ":ref:`buffer protocol `." msgstr "" "Mengembalikan objek bytearray baru dari objek apa pun, *o*, yang " "mengimplementasikan :ref:`buffer protocol `." #: ../../c-api/bytearray.rst:45 ../../c-api/bytearray.rst:52 #: ../../c-api/bytearray.rst:59 msgid "On failure, return ``NULL`` with an exception set." msgstr "" #: ../../c-api/bytearray.rst:50 msgid "Create a new bytearray object from *string* and its length, *len*." msgstr "" #: ../../c-api/bytearray.rst:57 msgid "" "Concat bytearrays *a* and *b* and return a new bytearray with the result." msgstr "" "Menyatukan bytearrays *a* dan *b* dan mengembalikan bytearray baru dengan " "hasilnya." #: ../../c-api/bytearray.rst:64 msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer." msgstr "Mengembalikan ukuran *bytearray* setelah memeriksa pointer ``NULL``." #: ../../c-api/bytearray.rst:69 msgid "" "Return the contents of *bytearray* as a char array after checking for a " "``NULL`` pointer. The returned array always has an extra null byte " "appended." msgstr "" "Mengembalikan konten *bytearray* sebagai array karakter setelah memeriksa " "pointer ``NULL``. Array yang dikembalikan selalu memiliki byte null ekstra " "yang ditambahkan." #: ../../c-api/bytearray.rst:76 msgid "" "Resize the internal buffer of *bytearray* to *len*. Failure is a ``-1`` " "return with an exception set." msgstr "" #: ../../c-api/bytearray.rst:79 msgid "" "A negative *len* will now result in an exception being set and -1 returned." msgstr "" #: ../../c-api/bytearray.rst:84 msgid "Macros" msgstr "Makro" #: ../../c-api/bytearray.rst:86 msgid "These macros trade safety for speed and they don't check pointers." msgstr "" "Makro ini menukar keamanan dengan kecepatan dan tidak memeriksa pointer." #: ../../c-api/bytearray.rst:90 msgid "Similar to :c:func:`PyByteArray_AsString`, but without error checking." msgstr "" #: ../../c-api/bytearray.rst:95 msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking." msgstr "" #: ../../c-api/bytearray.rst:8 msgid "object" msgstr "objek" #: ../../c-api/bytearray.rst:8 msgid "bytearray" msgstr ""