-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
DocStubsLow-Priodo other things firstdo other things firstMergecodemod to merge two stubs to make a better onecodemod to merge two stubs to make a better oneenhancementNew feature or requestNew feature or request
Description
Currently the docstubs use "*args, **kwargs"
to replace ...
in the parameters
This should be changed back to ...
, but this also requires changing the merge code , and perhaps also some other edits
# # formatting
# # fixme: ... not allowed in .py
if self.target == ".py":
params = params.replace("*, ...", "*args, **kwargs")
params = params.replace("...", "*args, **kwargs")
Metadata
Metadata
Assignees
Labels
DocStubsLow-Priodo other things firstdo other things firstMergecodemod to merge two stubs to make a better onecodemod to merge two stubs to make a better oneenhancementNew feature or requestNew feature or request