diff options
author | Waylan Limberg <waylan@gmail.com> | 2011-12-29 04:59:47 +0800 |
---|---|---|
committer | Mike Dirolf <mike@dirolf.com> | 2012-01-15 00:45:37 +0800 |
commit | f3959302ef1ffa5ea3811a92ef97903320331020 (patch) | |
tree | c90dfcbcb17272204a9daf26e8776d46a31bd29d /tests/util.py | |
parent | 35930e0928e19e37f81c906d5d11dfcc1087092b (diff) | |
download | markdown-f3959302ef1ffa5ea3811a92ef97903320331020.tar.gz markdown-f3959302ef1ffa5ea3811a92ef97903320331020.tar.bz2 markdown-f3959302ef1ffa5ea3811a92ef97903320331020.zip |
Fixed #61. stdin and stdout should work better in python 3.
Apparently, in Python3 stdin and stdout take str (unicode) not bytes.
This provides a solution that will work in both python 2 & 3.
Diffstat (limited to 'tests/util.py')
0 files changed, 0 insertions, 0 deletions