Pelokalan
Python ID
id en
Masuk
Proyek
builtins__functions.po Berkas proyek · python-docs-id-3.14 · Bahasa Indonesia
Modul PO Hanya lihat
Teks sumber — English
Terjemahan — Bahasa Indonesia
Return a new array of bytes. The :class:`bytearray` class is a mutable sequence of integers in the range 0 <= x < 256. It has most of the usual methods of mutable sequences, described in :ref:`typesseq-mutable`, as well as most methods that the :class:`bytes` type has, see :ref:`bytes-methods`.
Kembalikan array byte baru. Kelas :class:`bytearray` adalah urutan bilangan bulat yang dapat berubah dalam kisaran 0 <= x <256. Ia memiliki sebagian besar metode urutan-urutan yang dapat berubah, yang dijelaskan dalam :ref:`typesseq-mutable`, dan juga sebagian besar metode yang dimiliki oleh :class:`bytes`, lihat :ref:`bytes-methods`.
Return a new "bytes" object which is an immutable sequence of integers in the range ``0 <= x < 256``. :class:`bytes` is an immutable version of :class:`bytearray` -- it has the same non-mutating methods and the same indexing and slicing behavior.
Rather than being a function, :class:`list` is actually a mutable sequence type, as documented in :ref:`typesseq-list` and :ref:`typesseq`.
Alih-alih menjadi sebuah fungsi, :class:`list` sebenarnya adalah tipe urutan yang bisa berubah *mutable*, seperti yang didokumentasikan dalam :ref:`typesseq-list` dan :ref:`typesseq`.
Rather than being a function, :class:`range` is actually an immutable sequence type, as documented in :ref:`typesseq-range` and :ref:`typesseq`.
Alih-alih menjadi fungsi, :class:`range` sebenarnya merupakan tipe urutan yang tidak dapat diubah *immutable*, seperti yang didokumentasikan dalam :ref:`typesseq-range` dan :ref:`typesseq`.
Rather than being a function, :class:`tuple` is actually an immutable sequence type, as documented in :ref:`typesseq-tuple` and :ref:`typesseq`.
Alih-alih menjadi fungsi, :class:`tuple` sebenarnya merupakan tipe urutan yang tidak dapat diubah atau disebut *immutable*, seperti yang didokumentasikan dalam :ref:`typesseq-tuple` dan :ref:`typesseq`.