Changeset 366 for pyyaml/trunk/ext/_yaml.pyx
- Timestamp:
- 08/31/09 04:47:05 (3 years ago)
- Files:
-
- 1 modified
-
pyyaml/trunk/ext/_yaml.pyx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/ext/_yaml.pyx
r361 r366 956 956 self.dump_unicode = 0 957 957 if PY_MAJOR_VERSION < 3: 958 if hasattr(stream, 'encoding'):958 if getattr3(stream, 'encoding', None): 959 959 self.dump_unicode = 1 960 960 else:
