summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/marshal.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-06-21 14:11:21 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-06-21 14:11:21 (GMT)
commit03863d2b290d0856d7647a0275a73b55b6589fa7 (patch)
treeb108c989aeb591eb444722e7f0046c75689182ab /Doc/c-api/marshal.rst
parent5fa22fc088ac44c5652107c7c17cda01eaa84a28 (diff)
downloadcpython-03863d2b290d0856d7647a0275a73b55b6589fa7.zip
cpython-03863d2b290d0856d7647a0275a73b55b6589fa7.tar.gz
cpython-03863d2b290d0856d7647a0275a73b55b6589fa7.tar.bz2
Fixed documentation of functions with const char* arguments.
Diffstat (limited to 'Doc/c-api/marshal.rst')
-rw-r--r--Doc/c-api/marshal.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/marshal.rst b/Doc/c-api/marshal.rst
index 9ea0aaa..a6d0f46 100644
--- a/Doc/c-api/marshal.rst
+++ b/Doc/c-api/marshal.rst
@@ -88,7 +88,7 @@ written using these routines?
:exc:`TypeError`) and returns *NULL*.
-.. c:function:: PyObject* PyMarshal_ReadObjectFromString(char *string, Py_ssize_t len)
+.. c:function:: PyObject* PyMarshal_ReadObjectFromString(const char *string, Py_ssize_t len)
Return a Python object from the data stream in a character buffer
containing *len* bytes pointed to by *string*.