250
248
"""Return a file linked to stdout, which has proper encoding."""
251
249
assert self.encoding_type in ['strict', 'exact', 'replace']
258
251
# Originally I was using self.stdout, but that looks
259
252
# *way* too much like sys.stdout
260
253
if self.encoding_type == 'exact':