Use PyOS_snprintf instead of sprintf.
Also replace a switch statement with one case and a default to an if/else.
Showing
Please
register
or
sign in
to comment
Also replace a switch statement with one case and a default to an if/else.