This is a simple method extraction refactoring that is keeping backward compatibility.
This change provides the following benefits:
Improved Readability: The Invoke method is long and complex, the instantiation of the DISPPARAMS class within it was hard to understand. By splitting it into the __make_dp method, the Invoke method codebase becomes more concise and readable.
Preparation for Future Enhancement: This change might serve as a preparation for the upcoming implementation of 'named arguments' mentioned in #371.
392
This is a simple method extraction refactoring that is keeping backward compatibility.
This change provides the following benefits:
Improved Readability: The
Invoke
method is long and complex, the instantiation of theDISPPARAMS
class within it was hard to understand. By splitting it into the__make_dp
method, theInvoke
method codebase becomes more concise and readable.Preparation for Future Enhancement: This change might serve as a preparation for the upcoming implementation of 'named arguments' mentioned in #371.