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

Skip to content

Commit a6dec2e

Browse files
committed
Remove an unneeded cast.
1 parent 786ac7b commit a6dec2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/import.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ _imp__fix_co_filename_impl(PyModuleDef *module, PyCodeObject *code, PyObject *pa
975975
/*[clinic end generated code: checksum=4f55bad308072b30ad1921068fc4ce85bd2b39bf]*/
976976

977977
{
978-
update_compiled_module((PyCodeObject*)code, path);
978+
update_compiled_module(code, path);
979979

980980
Py_RETURN_NONE;
981981
}

0 commit comments

Comments
 (0)