mirror of
https://github.com/python/cpython.git
synced 2026-04-13 23:31:02 +00:00
Reference memoryview.tolist as a method (#145412)
This commit is contained in:
parent
bd13cc09fa
commit
34df70c83c
1 changed files with 1 additions and 1 deletions
|
|
@ -4536,7 +4536,7 @@ copying.
|
|||
types such as :class:`bytes` and :class:`bytearray`, an element is a single
|
||||
byte, but other types such as :class:`array.array` may have bigger elements.
|
||||
|
||||
``len(view)`` is equal to the length of :class:`~memoryview.tolist`, which
|
||||
``len(view)`` is equal to the length of :meth:`~memoryview.tolist`, which
|
||||
is the nested list representation of the view. If ``view.ndim = 1``,
|
||||
this is equal to the number of elements in the view.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue