Mercurial > cpython-lru_cache-weakref
diff Include/pythonrun.h @ 24159:cb728141ae12 legacy-trunk
Fix SF Bug 564931: compile() traceback must include filename.
| author | Thomas Heller <theller@ctypes.org> |
|---|---|
| date | Tue, 09 Jul 2002 09:23:27 +0000 |
| parents | ba0236f84318 |
| children | 36e2fd3f08f7 |
line wrap: on
line diff
--- a/Include/pythonrun.h Tue Jul 09 05:25:46 2002 +0000 +++ b/Include/pythonrun.h Tue Jul 09 09:23:27 2002 +0000 @@ -45,6 +45,10 @@ DL_IMPORT(struct _node *) PyParser_SimpleParseString(char *, int); DL_IMPORT(struct _node *) PyParser_SimpleParseFile(FILE *, char *, int); DL_IMPORT(struct _node *) PyParser_SimpleParseStringFlags(char *, int, int); +DL_IMPORT(struct _node *) PyParser_SimpleParseStringFlagsFilename(char *, + char *, + int, + int); DL_IMPORT(struct _node *) PyParser_SimpleParseFileFlags(FILE *, char *, int, int);
