Ignore:
Timestamp:
04/15/06 19:54:52 (8 years ago)
Author:
xi
Message:

Major refactoring.

File:
1 edited

Legend:

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

    r133 r136  
    66class BaseDetector: 
    77 
     8    DEFAULT_SCALAR_TAG = u'tag:yaml.org,2002:str' 
     9    DEFAULT_SEQUENCE_TAG = u'tag:yaml.org,2002:seq' 
     10    DEFAULT_MAPPING_TAG = u'tag:yaml.org,2002:map' 
     11 
    812    yaml_detectors = {} 
     13 
     14    def __init__(self): 
     15        pass 
    916 
    1017    def add_detector(cls, tag, regexp, first): 
Note: See TracChangeset for help on using the changeset viewer.