Skip to content

Commit d0b2411

Browse files
authored
Reference memoryview.tolist as a method
1 parent c9a5d9a commit d0b2411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4536,7 +4536,7 @@ copying.
45364536
types such as :class:`bytes` and :class:`bytearray`, an element is a single
45374537
byte, but other types such as :class:`array.array` may have bigger elements.
45384538

4539-
``len(view)`` is equal to the length of :class:`~memoryview.tolist`, which
4539+
``len(view)`` is equal to the length of :meth:`~memoryview.tolist`, which
45404540
is the nested list representation of the view. If ``view.ndim = 1``,
45414541
this is equal to the number of elements in the view.
45424542

0 commit comments

Comments
 (0)