summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-12-25 20:01:53 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2015-12-25 20:01:53 +0200
commit5c633fc25fc6f9beee3ccb9ebc06633d1c9a1bc3 (patch)
tree451f469d7131b79436a1a1017463cd8d7c1ddded /Python/pythonrun.c
parentd1ba93f9a6a441ac31c5fd1890ce730b9e6d330d (diff)
downloadcpython-5c633fc25fc6f9beee3ccb9ebc06633d1c9a1bc3.tar.gz
Issue #25923: Added more const qualifiers to signatures of static and private functions.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index cfe197b25b..8829699f60 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1138,8 +1138,8 @@ PyParser_ASTFromString(const char *s, const char *filename_str, int start,
mod_ty
PyParser_ASTFromFileObject(FILE *fp, PyObject *filename, const char* enc,
- int start, char *ps1,
- char *ps2, PyCompilerFlags *flags, int *errcode,
+ int start, const char *ps1,
+ const char *ps2, PyCompilerFlags *flags, int *errcode,
PyArena *arena)
{
mod_ty mod;
@@ -1171,8 +1171,8 @@ PyParser_ASTFromFileObject(FILE *fp, PyObject *filename, const char* enc,
mod_ty
PyParser_ASTFromFile(FILE *fp, const char *filename_str, const char* enc,
- int start, char *ps1,
- char *ps2, PyCompilerFlags *flags, int *errcode,
+ int start, const char *ps1,
+ const char *ps2, PyCompilerFlags *flags, int *errcode,
PyArena *arena)
{
mod_ty mod;