diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-25 18:01:53 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-25 18:01:53 (GMT) |
commit | ef1585eb9a488ae8ce3ff057f43a7048b941cc1c (patch) | |
tree | fbbdc44ba78d84a31d5fc0bf1679870ec4f32f77 /Python/pylifecycle.c | |
parent | 2d06e8445587d9b4d0bf79bdb08ab4743b780249 (diff) | |
download | cpython-ef1585eb9a488ae8ce3ff057f43a7048b941cc1c.zip cpython-ef1585eb9a488ae8ce3ff057f43a7048b941cc1c.tar.gz cpython-ef1585eb9a488ae8ce3ff057f43a7048b941cc1c.tar.bz2 |
Issue #25923: Added more const qualifiers to signatures of static and private functions.
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index b7f6ec8..c84c46a 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1004,8 +1004,8 @@ is_valid_fd(int fd) /* returns Py_None if the fd is not valid */ static PyObject* create_stdio(PyObject* io, - int fd, int write_mode, char* name, - char* encoding, char* errors) + int fd, int write_mode, const char* name, + const char* encoding, const char* errors) { PyObject *buf = NULL, *stream = NULL, *text = NULL, *raw = NULL, *res; const char* mode; |