Changeset 136 for pyyaml/trunk/lib/yaml/detector.py
- Timestamp:
- 04/15/06 19:54:52 (6 years ago)
- Files:
-
- 1 modified
-
pyyaml/trunk/lib/yaml/detector.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/lib/yaml/detector.py
r133 r136 6 6 class BaseDetector: 7 7 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 8 12 yaml_detectors = {} 13 14 def __init__(self): 15 pass 9 16 10 17 def add_detector(cls, tag, regexp, first):
