Teks sumber — English
Terjemahan — Bahasa Indonesia
This subtype of :c:type:`PyObject` represents a Python bytearray object.
Subtipe dari :c:type:`PyObject` ini mewakili objek bytearray Python.
The internal buffer of :c:type:`PyByteArrayObject` always includes an extra trailing null byte for compatibility with null terminated C strings. This extra byte is not counted in :c:func:`PyByteArray_Size` nor in the *len* arguments of the functions below.
This instance of :c:type:`PyTypeObject` represents the Python bytearray type; it is the same object as :class:`bytearray` in the Python layer.
Instance dari :c:type:`PyTypeObject` mewakili tipe bytearray Python; itu adalah objek yang sama dengan :class:`bytearray` di lapisan Python.
Type check macros
Makro cek tipe
Return true if the object *o* is a bytearray object or an instance of a subtype of the bytearray type. This function always succeeds.
Mengembalikan nilai true jika objek *o* adalah objek bytearray atau turunan dari subtipe tipe bytearray. Fungsi ini selalu berhasil.
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.
Mengembalikan nilai true jika objek *o* adalah objek bytearray, tetapi bukan turunan dari subtipe tipe bytearray. Fungsi ini selalu berhasil.