Ignore:
Timestamp:
02/24/06 15:46:28 (8 years ago)
Author:
xi
Message:

Constructor is done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pyyaml3000/lib/yaml/resolver.py

    r55 r56  
    135135        ['=']) 
    136136 
     137# The following detector is only for documentation purposes. It cannot work 
     138# because plain scalars cannot start with '!', '&', or '*'. 
     139Resolver.add_detector( 
     140        u'tag:yaml.org,2002:yaml', 
     141        re.compile(ur'^(?:!|&|\*)$'), 
     142        list(u'!&*')) 
     143 
Note: See TracChangeset for help on using the changeset viewer.