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

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Address code review
  • Loading branch information
corona10 committed Sep 23, 2024
commit e4039220a7cb56d569c5c9394d62d8fe7d59bff8
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Remove ``WITH_FREELISTS`` macro and ``--with-freelists`` build configuration
Remove ``WITH_FREELISTS`` macro and ``--without-freelists`` build configuration
5 changes: 1 addition & 4 deletions Objects/floatobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,10 @@ static void
float_dealloc(PyObject *op)
{
assert(PyFloat_Check(op));
if (PyFloat_CheckExact(op)) {
if (PyFloat_CheckExact(op))
_PyFloat_ExactDealloc(op);
}
else
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can move the { up to the same line as the else now

{
Py_TYPE(op)->tp_free(op);
}
}

double
Expand Down