Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Prev Previous commit
Next Next commit
Remove useless variable
  • Loading branch information
marat committed Sep 26, 2025
commit 0d53cedac90a0ad7810540d8c8cd30a1353dc44b
1 change: 0 additions & 1 deletion Modules/_datetimemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1960,7 +1960,6 @@ wrap_strftime(PyObject *object, PyObject *format, PyObject *timetuple,
i++;
/* A % has been seen and ch is the character after it. */
PyObject *replacement = NULL;
int need_decref_replacement = 0;

Comment thread
mhsmith marked this conversation as resolved.
Outdated
if (ch == 'z') {
/* %z -> +HHMM */
Expand Down
Loading