File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,7 +195,6 @@ static int symtable_visit_keyword(struct symtable *st, keyword_ty);
195195static int symtable_visit_slice (struct symtable * st , slice_ty );
196196static int symtable_visit_params (struct symtable * st , asdl_seq * args );
197197static int symtable_visit_argannotations (struct symtable * st , asdl_seq * args );
198- static int symtable_implicit_arg (struct symtable * st , int pos );
199198static int symtable_visit_annotations (struct symtable * st , stmt_ty s , arguments_ty , expr_ty );
200199static int symtable_visit_withitem (struct symtable * st , withitem_ty item );
201200
@@ -1523,20 +1522,6 @@ symtable_visit_expr(struct symtable *st, expr_ty e)
15231522 VISIT_QUIT (st , 1 );
15241523}
15251524
1526- static int
1527- symtable_implicit_arg (struct symtable * st , int pos )
1528- {
1529- PyObject * id = PyUnicode_FromFormat (".%d" , pos );
1530- if (id == NULL )
1531- return 0 ;
1532- if (!symtable_add_def (st , id , DEF_PARAM )) {
1533- Py_DECREF (id );
1534- return 0 ;
1535- }
1536- Py_DECREF (id );
1537- return 1 ;
1538- }
1539-
15401525static int
15411526symtable_visit_params (struct symtable * st , asdl_seq * args )
15421527{
You can’t perform that action at this time.
0 commit comments