Changeset 251 for pyyaml/trunk/lib/yaml
- Timestamp:
- 05/05/07 15:03:39 (5 years ago)
- Files:
-
- 1 modified
-
pyyaml/trunk/lib/yaml/constructor.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/lib/yaml/constructor.py
r235 r251 380 380 value = self.construct_scalar(node) 381 381 try: 382 return str(value)382 return value.encode('ascii') 383 383 except UnicodeEncodeError: 384 384 return value
