Ezio Melotti added the comment: .. function:: int(n=0) int(s, base=10) should do the trick. +1 on using this instead of int([number | string[, base]]) ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue14783> _______________________________________