yaru22 wrote:
> In the exercise in my book, it asks me to try print "%u" % (-5)
> I'm wondering what this %u mean?

Looks like there is *no* difference between '%u' and '%d' in Python.

Python 2.4.3 source code:
from stringobject.c, formatint function....

        if (x < 0 && type == 'u') {
                type = 'd';
        }

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to