def infer_ass(self, context=None):
 stmt = self.statement()
 if isinstance(stmt, nodes.AugAssign):
  return stmt.infer(context)
 stmts = list(self.assigned_stmts(context=context))
 return _infer_stmts(stmts, context)

def infer_ass ( self , context = None ) : stmt = self . statement ( ) if isinstance ( stmt , nodes . AugAssign ) : return stmt . infer ( context ) stmts = list ( self . assigned_stmts ( context = context ) ) return _infer_stmts ( stmts , context )
infer a assname/assattr: need to inspect the rhs part of the assign node .