mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 21:17:54 +00:00
Explanation.
This commit is contained in:
parent
af5e9eaf67
commit
f95f9c481e
@ -186,6 +186,9 @@ def is_printable_ascii(s):
|
||||
def unicode_to_output(s):
|
||||
"""
|
||||
Encode an unicode object for representation on stdout or stderr.
|
||||
|
||||
On Python 3 just returns the string unchanged, since it is not necessary to
|
||||
encode in any way.
|
||||
"""
|
||||
precondition(isinstance(s, unicode), s)
|
||||
if PY3:
|
||||
|
Loading…
Reference in New Issue
Block a user