[New-bugs-announce] [issue3843] hexadecimal, not decimal

maix report at bugs.python.org
Thu Sep 11 23:25:10 CEST 2008

New submission from maix <mailmaix at gmail.com>:

On http://docs.python.org/dev/library/string.html, at the format string
documentation, it says:

> The '#' option is only valid for integers, and only for binary, octal,
or *decimal* output. If present, it specifies that the output will be
prefixed by '0b', '0o', or '0x', respectively.

The decimal is wrong, hexadecimal is meant there.

assignee: georg.brandl
components: Documentation
messages: 73060
nosy: georg.brandl, maix
severity: normal
status: open
title: hexadecimal, not decimal
versions: Python 2.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list