1.1 --- a/lib/native/unicode.py Fri Mar 31 23:26:47 2017 +0200
1.2 +++ b/lib/native/unicode.py Fri Mar 31 23:27:55 2017 +0200
1.3 @@ -24,11 +24,13 @@
1.4 this program. If not, see <http://www.gnu.org/licenses/>.
1.5 """
1.6
1.7 +# NOTE: Example values used to provide type information.
1.8 +
1.9 # Unicode string operations.
1.10
1.11 -def unicode_len(data, size): pass
1.12 -def unicode_ord(data, size): pass
1.13 -def unicode_substr(data, size, start, end, step): pass
1.14 -def unicode_unichr(value): pass
1.15 +def unicode_len(data, size): return 0
1.16 +def unicode_ord(data, size): return 0
1.17 +def unicode_substr(data, size, start, end, step): return ""
1.18 +def unicode_unichr(value): return ""
1.19
1.20 # vim: tabstop=4 expandtab shiftwidth=4