diff options
author | gfyoung <gfyoung17@gmail.com> | 2017-06-06 19:23:52 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2017-06-06 19:23:52 (GMT) |
commit | ec19ba210bba2c3097232a05d7dbe093beb5f833 (patch) | |
tree | 862a24dccb3364b9ccd8de231a051c5f926f7912 /Doc | |
parent | 53f2af16551eb3a080da313257603c31ef8b93b4 (diff) | |
download | cpython-ec19ba210bba2c3097232a05d7dbe093beb5f833.zip cpython-ec19ba210bba2c3097232a05d7dbe093beb5f833.tar.gz cpython-ec19ba210bba2c3097232a05d7dbe093beb5f833.tar.bz2 |
bpo-29596: Improve clinic howto documentation (GH-1710)
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.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/howto/clinic.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst index b5c14d3..d3c7d66 100644 --- a/Doc/howto/clinic.rst +++ b/Doc/howto/clinic.rst @@ -1407,8 +1407,8 @@ 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 + be dumped once, and it prints out all text sent to it during + all processing, even from Clinic blocks *after* the dumping point. ``suppress`` The text is suppressed—thrown away. @@ -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 most of the output from Clinic, to be written into your file near the end. For Python files implementing modules or builtin types, it's recommended that you dump the buffer just above the static structures for your module or |