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

Skip to content

Commit bb2df61

Browse files
committed
Remove redundant condition
1 parent 8f54b02 commit bb2df61

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Python/symtable.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,8 +1287,6 @@ symtable_enter_typeparam_block(struct symtable *st, identifier name,
12871287
lineno, col_offset, end_lineno, end_col_offset)) {
12881288
return 0;
12891289
}
1290-
}
1291-
if (kind == ClassDef_kind) {
12921290
st->st_private = name;
12931291
// This is used for setting the generic base
12941292
_Py_DECLARE_STR(generic_base, ".generic_base");

0 commit comments

Comments
 (0)