-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Editorial: make introductions for built-in functions use consistent wording #2304
Comments
My preferred phrasing is
If we want an additional informative description of the function's purpose, it can precede the phrase
instead. |
Works for me. I'd also be fine with listing the arguments as we do for AOs, but I can see the argument for not doing so: AOs are only ever called with the correct number of arguments, so when we speak of them being called with a particular number of arguments we are covering all possible cases, whereas these can in fact be called with any number of arguments and should follow the specified behavior regardless. |
We also use "Its get accessor function performs the following steps:". |
Note that PR #2592 addresses this, among other things. |
@jmdyck Can you put "Fixes #XXX" or "Closes #XXX" in your PR descriptions so they link properly? |
"descriptions" plural? |
@jmdyck The descriptions of any PRs you either have open or open in the future. |
I didn't create #2592 to address this issue. When I submitted #2592, this PR was 9 months in the past, and I'd forgotten about it until an hour ago. Moreover, nobody else commenting on #2592 (or on issue #2576 that preceded it) brought up this issue, so I'm guessing they'd forgotten about it too. I can't promise to remember, now and in the future, every open issue that might be relevant to a PR, but I'm happy to make connections in my PRs if someone else remembers a relevant issue and brings it to my attention. |
@jmdyck Of course, I don't expect you to go through every single open issue. Just when you become aware of them. Though performing a search for relevant issues or duplicates before opening a PR is usually a good practice. |
@michaelficarra @bakkot Is the wording suggested in #2304 (comment) with its two variations now the official editors' guidance, or does it need to be discussed further? |
There are a good number of different phrasings we use when introducing built-in functions, some of which I've documented here.
We should be more consistent.
The text was updated successfully, but these errors were encountered: