-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
documentation for function arguments #91485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
https://docs.python.org/3/library/functions.html I'm assuming these are what you're referring to? |
i meant the meaning of the arguments, like the |
Maybe the function docs could be made easier to read by sticking to Python syntax? As By sticking to valid Python syntax (reminds me of the
It would mean checking if that's actually true that they expect None as the default value, they may expect a sentinel value. Typically here for input the default value is the empty string, not In case like
does my rewritings helps you understand, @vainaijr? |
yes, thanks for the explanation |
…unctions. (pythonGH-96579) (cherry picked from commit 3c4cbd1) Co-authored-by: Julien Palard <[email protected]>
…ns. (GH-96579) (cherry picked from commit 3c4cbd1) Co-authored-by: Julien Palard <[email protected]>
…ns. (GH-96579) (cherry picked from commit 3c4cbd1) Co-authored-by: Julien Palard <[email protected]>
I agree that we should try and stick to using Python syntax where possible. Grepping Doc/ for |
…pythonGH-101177) (cherry picked from commit 783d1bc) Co-authored-by: Shantanu <[email protected]>
…pythonGH-101177) (cherry picked from commit 783d1bc) Co-authored-by: Shantanu <[email protected]>
…01177) (cherry picked from commit 783d1bc) Co-authored-by: Shantanu <[email protected]>
…01177) (cherry picked from commit 783d1bc) Co-authored-by: Shantanu <[email protected]>
Previously I've thought that In other words, I would parse
|
it is confusing what these mean, is there a page which explains the difference between these, or if not, then could there be a page which explains the difference between these, (and more variations)
Linked PRs
The text was updated successfully, but these errors were encountered: