Author: Raffael Tfirst <raffael.tfi...@gmail.com>
Branch: py3.5
Changeset: r85147:8cd46370914c
Date: 2016-06-13 22:05 +0200
http://bitbucket.org/pypy/pypy/changeset/8cd46370914c/

Log:    Remove vararg- and kwargannotation checks in visit_annotation for
        symtable

diff --git a/pypy/interpreter/astcompiler/symtable.py 
b/pypy/interpreter/astcompiler/symtable.py
--- a/pypy/interpreter/astcompiler/symtable.py
+++ b/pypy/interpreter/astcompiler/symtable.py
@@ -532,10 +532,6 @@
         assert isinstance(args, ast.arguments)
         if args.args:
             self._visit_arg_annotations(args.args)
-        if args.varargannotation:
-            args.varargannotation.walkabout(self)
-        if args.kwargannotation:
-            args.kwargannotation.walkabout(self)
         if args.kwonlyargs:
             self._visit_arg_annotations(args.kwonlyargs)
         if func.returns:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to