Ignore:
Timestamp:
04/16/06 19:45:21 (8 years ago)
Author:
xi
Message:

Refactor resolver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/lib/yaml/events.py

    r136 r137  
    77        self.end_mark = end_mark 
    88    def __repr__(self): 
    9         attributes = [key for key in ['anchor', 'tag', 'value'] 
     9        attributes = [key for key in ['anchor', 'tag', 'implicit', 'value'] 
    1010                if hasattr(self, key)] 
    1111        arguments = ', '.join(['%s=%r' % (key, getattr(self, key)) 
     
    2020 
    2121class CollectionStartEvent(NodeEvent): 
    22     def __init__(self, anchor, tag, start_mark=None, end_mark=None, 
     22    def __init__(self, anchor, tag, implicit, start_mark=None, end_mark=None, 
    2323            flow_style=None): 
    2424        self.anchor = anchor 
    2525        self.tag = tag 
     26        self.implicit = implicit 
    2627        self.start_mark = start_mark 
    2728        self.end_mark = end_mark 
Note: See TracChangeset for help on using the changeset viewer.