mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Remove unnecessary casts in type object initializers.
This commit is contained in:
parent
3987df5adf
commit
347b30042b
20 changed files with 272 additions and 271 deletions
|
|
@ -2063,7 +2063,7 @@ PyTypeObject PyFile_Type = {
|
|||
0, /* tp_descr_get */
|
||||
0, /* tp_descr_set */
|
||||
0, /* tp_dictoffset */
|
||||
(initproc)file_init, /* tp_init */
|
||||
file_init, /* tp_init */
|
||||
PyType_GenericAlloc, /* tp_alloc */
|
||||
file_new, /* tp_new */
|
||||
PyObject_Del, /* tp_free */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue