Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0afada1 commit 5061a74Copy full SHA for 5061a74
1 file changed
Parser/tokenizer.c
@@ -1324,7 +1324,7 @@ verify_identifier(struct tok_state *tok)
1324
if (tok->decoding_erred)
1325
return 0;
1326
s = PyUnicode_DecodeUTF8(tok->start, tok->cur - tok->start, NULL);
1327
- if (s == NULL || PyUnicode_READY(s) == -1) {
+ if (s == NULL) {
1328
if (PyErr_ExceptionMatches(PyExc_UnicodeDecodeError)) {
1329
PyErr_Clear();
1330
tok->done = E_IDENTIFIER;
0 commit comments