-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
doc: language about open with + modes
#129103
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
Conversation
|
I think the current wording is fine. Modes |
|
Hello @picnixz, and thank you for the feedback.
I was trying to be as succinct as possible, so I used the definition of cpython/Doc/library/functions.rst Lines 1377 to 1382 in 11ff781
To be clear, IMHO the current wording is obviously correct. It's just that I felt there was not enough emphasis on the fact that |
|
Ah I see the nuance. Would this be retained in the following formulation:
I think we should definitely keep the fact that |
LGTM |
|
cc @python/proofreaders to decide whether this new formulation is preferred or not (I don't have a strong preference and I wouldn't mind the status quo; it's more for others and to see if other people think it would be clearer). (Sorry for the editorial board ping) |
|
Actually I'd make a tiny edit, based on "escalating significance" to something like.
But this is a tiny tiny nitpick. |
|
Nitpick:
But In any event, I'm okay with either wording. I'm pretty deeply familiar with Python and POSIX, though, so I'm probably a poor person to ask about the clarity of either. That said, more generally, rather than targeted edits to this small paragraph, I think the broader section could be revised more extensively for clarity. I don't have time at the moment to draft anything (I likely could somewhat soon, if desired), but at least:
|
|
I'll toss in a little nit as well: the function is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not feeling the value of the proposed rewording, sorry. I propose to close the PR without merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @refack for making your first PR to CPython. I agree with @gvanrossum that we should keep this documentation as is since your proposed wording adds a bit of complexity by combining the sentences.
I'm going to close this PR. I do encourage you to keep contributing to the documentation especially if you see an open issue which you could help improve. Thanks. 🌞
Although I have much experience with POSIX, my home turf is WIN32 and here I had to read the text several times until the penny dropped. I hope my tiny change makes it easier to understand.
📚 Documentation preview 📚: https://cpython-previews--129103.org.readthedocs.build/