diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-05-04 23:22:13 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-05-04 23:22:13 +0000 |
commit | 128e7cd3258bdecf63846c9a614346eefdb51cc1 (patch) | |
tree | 6b7e6988d8193d3a8d8f04ade429131728b81997 /Python/_warnings.c | |
parent | 79d951223a2acc78f1c98ecef6b771aaed12b342 (diff) | |
download | cpython-128e7cd3258bdecf63846c9a614346eefdb51cc1.tar.gz |
Fix merge error
Diffstat (limited to 'Python/_warnings.c')
-rw-r--r-- | Python/_warnings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c index 956b3f5d4f..c84bd85ebb 100644 --- a/Python/_warnings.c +++ b/Python/_warnings.c @@ -498,7 +498,7 @@ setup_context(Py_ssize_t stack_level, PyObject **filename, int *lineno, } else if (!is_true) { Py_DECREF(*filename); - *filename = PyString_FromString("__main__"); + *filename = PyUnicode_FromString("__main__"); if (*filename == NULL) goto handle_error; } |