Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2614e1d

Browse files
committed
Remove obsolete ifdef.
1 parent f7f28fc commit 2614e1d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Python/ast.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3112,7 +3112,6 @@ decode_utf8(const char **sPtr, const char *end, char* encoding)
31123112
return v;
31133113
}
31143114

3115-
#ifdef Py_USING_UNICODE
31163115
static PyObject *
31173116
decode_unicode(const char *s, size_t len, int rawmode, const char *encoding)
31183117
{
@@ -3175,7 +3174,6 @@ decode_unicode(const char *s, size_t len, int rawmode, const char *encoding)
31753174
Py_XDECREF(u);
31763175
return v;
31773176
}
3178-
#endif
31793177

31803178
/* s is a Python string literal, including the bracketing quote characters,
31813179
* and r &/or u prefixes (if any), and embedded escape sequences (if any).

0 commit comments

Comments
 (0)