micropython-stubber icon indicating copy to clipboard operation
micropython-stubber copied to clipboard

docstubs to use ...

Open Josverl opened this issue 1 year ago • 0 comments

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")

Josverl avatar Feb 16 '24 23:02 Josverl