Fix link to first class iterator docs (#8356)
This commit is contained in:
parent
6512f8688d
commit
6eedac3207
1 changed files with 1 additions and 1 deletions
|
|
@ -891,7 +891,7 @@ important differences:
|
|||
future version of the compiler.)
|
||||
|
||||
However, you can also use a ``closure`` iterator to get a different set of
|
||||
restrictions. See `first class iterators <manual.html#first-class-iterators>`_
|
||||
restrictions. See `first class iterators <manual.html#iterators-and-the-for-statement-first-class-iterators>`_
|
||||
for details. Iterators can have the same name and parameters as a proc, since
|
||||
essentially they have their own namespaces. Therefore it is common practice to
|
||||
wrap iterators in procs of the same name which accumulate the result of the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue