Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ab0c3c71
Commit
ab0c3c71
authored
Aug 30, 2012
by
Stefan Krah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #15724: Add versionchanged tags to the memoryview documentation.
parent
2a021c80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
Doc/library/stdtypes.rst
Doc/library/stdtypes.rst
+10
-2
No files found.
Doc/library/stdtypes.rst
View file @
ab0c3c71
...
...
@@ -2450,6 +2450,8 @@ copying.
``v == w`` for memoryview objects.
.. versionchanged:: 3.3
Previous versions compared the raw memory disregarding the item format
and the logical array structure.
.. method:: tobytes()
...
...
@@ -2479,8 +2481,10 @@ copying.
>>> m.tolist()
[1.1, 2.2, 3.3]
:meth:`tolist` is currently restricted to single character native formats
in :mod:`struct` module syntax.
.. versionchanged:: 3.3
:meth:`tolist` now supports all single character native formats in
:mod:`struct` module syntax as well as multi-dimensional
representations.
.. method:: release()
...
...
@@ -2664,6 +2668,10 @@ copying.
arbitrary format strings, but some methods (e.g. :meth:`tolist`) are
restricted to native single element formats.
.. versionchanged:: 3.3
format ``'B'`` is now handled according to the struct module syntax.
This means that ``memoryview(b'abc')[0] == b'abc'[0] == 97``.
.. attribute:: itemsize
The size in bytes of each element of the memoryview::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment