mirror of
https://github.com/python/cpython.git
synced 2024-11-26 19:34:19 +08:00
Remove obsolete ifdef.
This commit is contained in:
parent
f7f28fc46b
commit
2614e1dc63
@ -3112,7 +3112,6 @@ decode_utf8(const char **sPtr, const char *end, char* encoding)
|
||||
return v;
|
||||
}
|
||||
|
||||
#ifdef Py_USING_UNICODE
|
||||
static PyObject *
|
||||
decode_unicode(const char *s, size_t len, int rawmode, const char *encoding)
|
||||
{
|
||||
@ -3175,7 +3174,6 @@ decode_unicode(const char *s, size_t len, int rawmode, const char *encoding)
|
||||
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).
|
||||
|
Loading…
Reference in New Issue
Block a user