Ignore:
Timestamp:
02/25/06 15:13:09 (9 years ago)
Author:
xi
Message:

Remove y/n from the boolean constants.

File:
1 edited

Legend:

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

    r57 r59  
    9494Resolver.add_detector( 
    9595        u'tag:yaml.org,2002:bool', 
    96         re.compile(ur'''^(?:y|Y|yes|Yes|YES|n|N|no|No|NO 
     96        re.compile(ur'''^(?:yes|Yes|YES|n|N|no|No|NO 
    9797                    |true|True|TRUE|false|False|FALSE 
    9898                    |on|On|ON|off|Off|OFF)$''', re.X), 
Note: See TracChangeset for help on using the changeset viewer.