summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2009-11-29 17:40:57 (GMT)
committerEric Smith <eric@trueblade.com>2009-11-29 17:40:57 (GMT)
commitc4ab8339e9a966d9d8e601531489a5436d197f47 (patch)
tree3fb5a2fd6a2cd465bb376d864e3e6ee65d22eb31 /Objects/unicodeobject.c
parentccc690d650f0b784c5d0445d0c34d372d2d24ec3 (diff)
downloadcpython-c4ab8339e9a966d9d8e601531489a5436d197f47.zip
cpython-c4ab8339e9a966d9d8e601531489a5436d197f47.tar.gz
cpython-c4ab8339e9a966d9d8e601531489a5436d197f47.tar.bz2
Issue #3382: Make '%F' and float.__format__('F') convert results to upper case. Much of the patch came from Mark Dickinson.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 2fa004e..e85b20f 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -8809,8 +8809,6 @@ PyObject *PyUnicode_Format(PyObject *format,
case 'F':
case 'g':
case 'G':
- if (c == 'F')
- c = 'f';
temp = formatfloat(v, flags, prec, c);
if (temp == NULL)
goto onError;