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

Skip to content

Commit cb2226c

Browse files
committed
merge 3.3
2 parents fd9c020 + 265fba4 commit cb2226c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Parser/tokenizer.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,10 @@ get_coding_spec(const char *s, char **spec, Py_ssize_t size, struct tok_state *t
254254

255255
if (begin < t) {
256256
char* r = new_string(begin, t - begin, tok);
257+
char* q;
257258
if (!r)
258259
return 0;
259-
char* q = get_normal_name(r);
260+
q = get_normal_name(r);
260261
if (r != q) {
261262
PyMem_FREE(r);
262263
r = new_string(q, strlen(q), tok);

0 commit comments

Comments
 (0)