Skip to content
Snippets Groups Projects
Commit 97c99775 authored by David Gobbi's avatar David Gobbi
Browse files

Make Python-wrapped char safe for ord() function

Previously, the Python wrappers would return a char value of zero
as the empty string.  This is troublesome because calling ord('')
will raise an exception.  It is better for the length of the
returned str object to always have a length of 1, and be '\0' if
the char is zero.
parent cd036602
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment