Commits

David Chambers committed 8b3780f

Edited comments.

Comments (0)

Files changed (1)

             self._contents = contents
 
         md.reset()
-        # populate `md.references` with any link identifiers defined in enclosing scopes
+        # populate `md.references` with enclosing scopes' link definitions
         parent = self._parent
         while parent:
             if hasattr(parent, '_references'):
         # updates
         split = re.split(RE['update'], contents)
         chunks = md.convert(u'\n<mango/>\n'.join(split[0::2])).split('<mango/>')
-        self._references = md.references.copy() # save link identifiers defined in current scope
+        self._references = md.references.copy() # save current scope's link definitions
         self.meta = getattr(md, 'Meta', {})
         updates = [update_template.render(Context({'update': Update(parent=self).convert(item)})) for item in split[1::2]]
         combined = [None] * (len(chunks) + len(updates))