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

Skip to content

Commit 1a183fa

Browse files
alexhenrieserhiy-storchaka
authored andcommitted
bpo-39271: Remove dead assignment from pattern_subx (GH-17915)
1 parent 5cae042 commit 1a183fa

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Modules/_sre.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,6 @@ pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string,
10021002
int literal;
10031003
view.buf = NULL;
10041004
ptr = getstring(ptemplate, &n, &isbytes, &charsize, &view);
1005-
b = charsize;
10061005
if (ptr) {
10071006
if (charsize == 1)
10081007
literal = memchr(ptr, '\\', n) == NULL;

0 commit comments

Comments
 (0)