[issue45218] cmath.log has an invalid signature

Mark Dickinson report at bugs.python.org
Thu Sep 16 07:45:41 EDT 2021


Mark Dickinson <dickinsm at gmail.com> added the comment:

Issue #43067 is similar. I'm not sure what the best solution is in this case:

- un-argument-clinic cmath.log, and document the signature using two lines (similar to range):

     log(z)
     log(z, base)

- change the behaviour of cmath.log so that the second argument is allowed be None (and defaults to None)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45218>
_______________________________________


More information about the Python-bugs-list mailing list