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
457501bf
Commit
457501bf
authored
May 29, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Two fixes in bytearray docs.
parent
abb34fe9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Doc/c-api/bytearray.rst
Doc/c-api/bytearray.rst
+5
-1
No files found.
Doc/c-api/bytearray.rst
View file @
457501bf
...
@@ -7,10 +7,12 @@ Byte Array Objects
...
@@ -7,10 +7,12 @@ Byte Array Objects
.. index:: object: bytearray
.. index:: object: bytearray
.. versionadded:: 2.6
.. ctype:: PyByteArrayObject
.. ctype:: PyByteArrayObject
This subtype of :ctype:`PyObject` represents a Python
string
object.
This subtype of :ctype:`PyObject` represents a Python
bytearray
object.
.. cvar:: PyTypeObject PyByteArray_Type
.. cvar:: PyTypeObject PyByteArray_Type
...
@@ -36,6 +38,8 @@ Byte Array Objects
...
@@ -36,6 +38,8 @@ Byte Array Objects
Return a new bytearray object from any object, *o*, that implements the
Return a new bytearray object from any object, *o*, that implements the
buffer protocol.
buffer protocol.
.. XXX expand about the buffer protocol, at least somewhere
.. cfunction:: PyObject* PyByteArray_FromStringAndSize(const char *string, Py_ssize_t len)
.. cfunction:: PyObject* PyByteArray_FromStringAndSize(const char *string, Py_ssize_t len)
...
...
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