diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-03-03 16:16:27 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-03-03 16:16:27 (GMT) |
| commit | 79f657c6e74004d9da5b3dc1b3fd17089e4a75be (patch) | |
| tree | d684bd699596399cea61c179c51a0daf00e087a8 /Python | |
| parent | bb569362f4b11b6f90c6b0b60eeeb6dd5b055c97 (diff) | |
| download | cpython-79f657c6e74004d9da5b3dc1b3fd17089e4a75be.zip cpython-79f657c6e74004d9da5b3dc1b3fd17089e4a75be.tar.gz cpython-79f657c6e74004d9da5b3dc1b3fd17089e4a75be.tar.bz2 | |
Issue #26476: Fixed compilation error when use PyErr_BadInternalCall() in C++.
Patch by Jeroen Demeyer.
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c index e7c221c..d823e13 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -532,7 +532,7 @@ PyObject *PyErr_SetFromWindowsErrWithUnicodeFilename( #endif /* MS_WINDOWS */ void -_PyErr_BadInternalCall(char *filename, int lineno) +_PyErr_BadInternalCall(const char *filename, int lineno) { PyErr_Format(PyExc_SystemError, "%s:%d: bad argument to internal function", |
