can someone please help me with the highlighted dictionary syntax below?

def feed():
    from gluon.serializers import rss
    functionSuperObjectID = request.get_vars.functionSuperObjectID
    parentTitle = db.SuperObject(functionSuperObjectID).object_display_name
    parentLink = db.SuperObject(functionSuperObjectID).object_display_name
    parentDescription = 
db.SuperObject(functionSuperObjectID).object_display_name
    response.view = 'generic.rss'
    selected_rss_rows = db(db.rss_entry.super_object_fk == 
functionSuperObjectID).select(db.rss_entry.super_object_fk, 
db.rss_entry.title, db.rss_entry.link, db.rss_entry.created_on, 
db.rss_entry.description)
    rssDict = dict()
    for row in selected_rss_rows:
        rssDict[row].title = row.title #what is syntax for this line?
        rssDict[row].link = row.link
        rssDict[row].pubDate = row.created_on
        rssDict[row].description = row.description
    return dict(title = parentTitle, link = parentLink, description = 
parentDescription, entries = [dict(rssDict)]) #what is syntax for this 
highlighted part?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to