micropython-stubber
micropython-stubber copied to clipboard
docstubs to use ...
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")