summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2024-09-22 06:22:03 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2024-09-22 06:22:03 (GMT)
commitb1f42b432a6d87877de4f805f61e3b5a233278d5 (patch)
tree0efbf22cb40888dbcdb337cfc6358317a1c1eaf7
parent475d0498c66c8bbc7a0acbb9d1c58abe3fa78b52 (diff)
parent4d6cf6b594048ddff62b239052e6069d52914009 (diff)
downloadtcl-b1f42b432a6d87877de4f805f61e3b5a233278d5.zip
tcl-b1f42b432a6d87877de4f805f61e3b5a233278d5.tar.gz
tcl-b1f42b432a6d87877de4f805f61e3b5a233278d5.tar.bz2
Merge 8.7 - coroutine doc duplicate text
-rw-r--r--doc/coroutine.n6
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/coroutine.n b/doc/coroutine.n
index cb4d3dd..6dae482 100644
--- a/doc/coroutine.n
+++ b/doc/coroutine.n
@@ -98,7 +98,7 @@ with quite a bit of similarity to \fBcoroprobe\fR. However, with
.VS "8.7, TIP383"
The coroutine is not immediately resumed after the injection has been done. A
consequence of this is that multiple injections may be done before the
-coroutine is resumed. There injected commands are performed in \fIreverse
+coroutine is resumed. The injected commands are performed in \fIreverse
order of definition\fR (that is, they are internally stored on a stack).
.VE "8.7, TIP383"
.IP \(bu
@@ -245,10 +245,6 @@ puts [\fBcoroprobe \fIcollect\fR set accumulator]
puts [\fIcollect\fR]
# ==> 123 {abc def} 456 pqr RST xyz
.CE
-.PP
-This example shows a simple coroutine that collects non-empty values and
-returns a list of them when not given an argument. It also shows how we can
-look inside the coroutine to find out what it is doing.
.VE "8.7, TIP383"
.SS "DETAILED SEMANTICS"
.PP