Mercurial > cpython-lru_cache-weakref
diff Python/ast.c @ 42736:ddefbdbdbcb5 2.5
Backport fix of #1752175.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Thu, 23 Aug 2007 18:08:33 +0000 |
| parents | c2ac22c6f98d |
| children | 275115999b58 |
line wrap: on
line diff
--- a/Python/ast.c Thu Aug 23 17:57:53 2007 +0000 +++ b/Python/ast.c Thu Aug 23 18:08:33 2007 +0000 @@ -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).
