summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-12-05 20:26:10 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-12-05 20:26:10 (GMT)
commit92bf919ed0da8d7f112f9659e6065976e382bae1 (patch)
tree1876e54c89f619563d8b4218bb7fa5f05eb86b0a /Python/marshal.c
parent1a7b8d143965c281467379123187e0ef323380c3 (diff)
parentb757c83ec626442a8804b9417790443bf13b4fc8 (diff)
downloadcpython-92bf919ed0da8d7f112f9659e6065976e382bae1.zip
cpython-92bf919ed0da8d7f112f9659e6065976e382bae1.tar.gz
cpython-92bf919ed0da8d7f112f9659e6065976e382bae1.tar.bz2
Issue #22581: Use more "bytes-like object" throughout the docs and comments.
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index 837aa48..3832085 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -527,7 +527,7 @@ w_complex_object(PyObject *v, char flag, WFILE *p)
w_object(co->co_lnotab, p);
}
else if (PyObject_CheckBuffer(v)) {
- /* Write unknown buffer-style objects as a string */
+ /* Write unknown bytes-like objects as a byte string */
Py_buffer view;
if (PyObject_GetBuffer(v, &view, PyBUF_SIMPLE) != 0) {
w_byte(TYPE_UNKNOWN, p);