comparison Python/pythonrun.c @ 36768:d6c30ce3868b legacy-trunk

Reconst parameters that lost their const in the AST merge.
author Martin v. Löwis <martin@v.loewis.de>
date Wed, 01 Mar 2006 16:55:42 +0000
parents 8e04de2480e4
children de4816d344ee
comparison
equal deleted inserted replaced
36767:e364bc76bdc8 36768:d6c30ce3868b
636 } 636 }
637 637
638 /* Parse input from a file and execute it */ 638 /* Parse input from a file and execute it */
639 639
640 int 640 int
641 PyRun_AnyFileExFlags(FILE *fp, char *filename, int closeit, 641 PyRun_AnyFileExFlags(FILE *fp, const char *filename, int closeit,
642 PyCompilerFlags *flags) 642 PyCompilerFlags *flags)
643 { 643 {
644 if (filename == NULL) 644 if (filename == NULL)
645 filename = "???"; 645 filename = "???";
646 if (Py_FdIsInteractive(fp, filename)) { 646 if (Py_FdIsInteractive(fp, filename)) {