Teks sumber — English
Terjemahan — Bahasa Indonesia
Without an argument, an array of size 0 is created.
Tanpa argumen, dibuat array berukuran 0.
Bytes objects can also be created with literals, see :ref:`strings`.
Objek byte juga dapat dibuat dengan literal, lihat :ref:`strings`.
This function can also be used to execute arbitrary code objects (such as those created by :func:`compile`). In this case, pass a code object instead of a string. If the code object has been compiled with ``'exec'`` as the *mode* argument, :func:`eval`\'s return value will be ``None``.
Return an :term:`iterator` object. The first argument is interpreted very differently depending on the presence of the second argument. Without a second argument, the single argument must be a collection object which supports the :term:`iterable` protocol (the :meth:`~object.__iter__` method), or it must support the sequence protocol (the :meth:`~object.__getitem__` method with integer arguments starting at ``0``). If it does not support either of those protocols, :exc:`TypeError` is raised. If the second argument, *sentinel*, is given, then the first argument must be a callable object. The iterator created in this case will call *callable* with no arguments for each call to its :meth:`~iterator.__next__` method; if the value returned is equal to *sentinel*, :exc:`StopIteration` will be raised, otherwise the value will be returned.
Return a "memory view" object created from the given argument. See :ref:`typememoryview` for more information.
Kembalikan objek "memory view" yang dibuat dari argumen yang diberikan. Lihat :ref:`typememoryview` untuk informasi lebih lanjut.
The newly created file is :ref:`non-inheritable <fd_inheritance>`.
Berkas yang baru dibuat adalah :ref:`non-inheritable <fd_inheritance>`.
The name of the module where the sentinel was created. This attribute is writable.