Skip to content
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

bpo-29596: Fix missing documentation in clinic.rst #1710

Merged
merged 1 commit into from
Jun 6, 2017
Merged

bpo-29596: Fix missing documentation in clinic.rst #1710

merged 1 commit into from
Jun 6, 2017

Conversation

gfyoung
Copy link
Contributor

@gfyoung gfyoung commented May 22, 2017

Title is self-explanatory. If this patch is accepted, I can also backport to the 3.5 and 3.6 branches.

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

Thanks again to your contribution and we look forward to looking at it!

@@ -1471,7 +1471,7 @@ preset configurations, as follows:
The default filename is ``"{dirname}/clinic/{basename}.h"``.

``buffer``
Save up all most of the output from Clinic, to be written into
Save up almost all of the output from Clinic, to be written into
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“Save up most of . . .” would be simpler I think, assuming that’s what @larryhastings meant. But that leaves the question of what is and isn’t saved. Next paragraph mentions suppressing some stuff, but only writing stuff to block and file, which doesn’t help me. Perhaps file should be buffer?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Done.

@@ -1408,7 +1408,7 @@ Let's start with defining some terminology:
``two-pass``
A buffer like ``buffer``. However, a two-pass buffer can only
be written once, and it prints out all text sent to it during
all of processing, even from Clinic blocks *after* the
all of processing, even from Clinic blocks *after* the current one.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My guess is @larryhastings meant after the dumping point.

Of should also be removed from “during all [of] processing”.

And would it be better to say “a two-pass buffer can only be dumped once”? Otherwise it sounds like you can only use the two-pass destination once, and then you have to use some other destination.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Done.

@serhiy-storchaka serhiy-storchaka added the docs Documentation in the Doc dir label May 22, 2017
@gfyoung
Copy link
Contributor Author

gfyoung commented May 29, 2017

@vadmium : Do you have any updates on this?

@vadmium
Copy link
Member

vadmium commented May 30, 2017

No further comments from me

@Mariatta Mariatta merged commit ec19ba2 into python:master Jun 6, 2017
@Mariatta
Copy link
Member

Mariatta commented Jun 6, 2017

Thanks for the PR 🎉
Can you backport this to 3.5 and 3.6? If not, I can do it later this evening.
You can use cherry_picker.py or do it manually using git cherry-pick -x.
Thanks.

@gfyoung
Copy link
Contributor Author

gfyoung commented Jun 6, 2017

@Mariatta : PR's up for backporting.

Mariatta pushed a commit that referenced this pull request Jun 6, 2017
Clarify that `two-pass` buffer can only be dumped once, and it prints out all text sent to it during all processing, even from Clinic blocks *after* the dumping point.
Mariatta pushed a commit that referenced this pull request Jun 6, 2017
Clarify that `two-pass` buffer can only be dumped once, and it prints out all text sent to it during all processing, even from Clinic blocks *after* the dumping point.
erlend-aasland pushed a commit to erlend-aasland/devguide that referenced this pull request Sep 8, 2023
Clarify that `two-pass` buffer can only be dumped once, and it prints out all text sent to it during all processing, even from Clinic blocks *after* the dumping point.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants