commit | eec47f35569f184924e851fdc64f67cd79ffd2e3 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Aug 23 18:08:33 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Thu Aug 23 18:08:33 2007 +0000 |
tree | 3bfdff4a6f1c516967ba43bd7bb7d319e02c3204 | |
parent | 7d108b8806e5c54db757948b312726dc4599596c [diff] [blame] |
Backport fix of #1752175.
diff --git a/Python/ast.c b/Python/ast.c index 2a27b64..c96c503 100644 --- a/Python/ast.c +++ b/Python/ast.c
@@ -3115,6 +3115,7 @@ #endif } +#ifdef Py_USING_UNICODE static PyObject * decode_unicode(const char *s, size_t len, int rawmode, const char *encoding) { @@ -3176,6 +3177,7 @@ Py_XDECREF(u); return v; } +#endif /* s is a Python string literal, including the bracketing quote characters, * and r &/or u prefixes (if any), and embedded escape sequences (if any).