| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Thanks for the PR! I was curious about why the existing code in mathmodule.c didn't work. It turns out that it is I think easy to fix, which led me to make an alternate PR here: #101115. I think that PR is a slightly smaller change / closer to what whoever did the original argument clinic for mathmodule.c intended. But maybe c_default is sketchy or support for None is desirable, in which case this PR works too! |
Sorry, something went wrong.
|
@hauntsaninja, thanks. I left few notes on the new PR. |
Sorry, something went wrong.
| Returns the logarithm of *x* to the given *base*. If the *base* is not | ||
| specified, returns the natural logarithm of *x*. There is one branch cut, from 0 | ||
| along the negative real axis to -∞, continuous from above. | ||
| specified or is None, returns the natural logarithm of *x*. There is one |
There was a problem hiding this comment.
In the interests of readability, I'd suggest reverting the change on this line - I think it's clear from context that "not specified" includes the case of deliberately specifying None.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.