Browse Source
closes bpo-39803: Remove unused str from _PyLong_FormatAdvancedWriter. (GH-18709)
pull/18754/head
Andy Lester
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
Python/formatter_unicode.c
|
|
|
@ -1458,7 +1458,7 @@ _PyLong_FormatAdvancedWriter(_PyUnicodeWriter *writer, |
|
|
|
PyObject *format_spec, |
|
|
|
Py_ssize_t start, Py_ssize_t end) |
|
|
|
{ |
|
|
|
PyObject *tmp = NULL, *str = NULL; |
|
|
|
PyObject *tmp = NULL; |
|
|
|
InternalFormatSpec format; |
|
|
|
int result = -1; |
|
|
|
|
|
|
|
@ -1511,7 +1511,6 @@ _PyLong_FormatAdvancedWriter(_PyUnicodeWriter *writer, |
|
|
|
|
|
|
|
done: |
|
|
|
Py_XDECREF(tmp); |
|
|
|
Py_XDECREF(str); |
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
|
|