Menu

Commit [r20790]  Maximize  Restore  History

Defined two new functions called u() in the compat module for better unicode string support.

The two functions are defined differently for Python2 and Python3. The Python3 function simply
returns the text unmodified, as all strings are unicode. The Python2 function converts the str
type to a unicode type.

bugman 2013-09-04

changed /trunk/compat.py
/trunk/compat.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.