merged branch beryllium/patch-1 (PR #1032)
authorFabien Potencier <fabien.potencier@gmail.com>
Mon, 25 Mar 2013 07:42:48 +0000 (08:42 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Mon, 25 Mar 2013 07:42:48 +0000 (08:42 +0100)
This PR was merged into the master branch.

Discussion
----------

Adding a section about the slice filter to doc/tags/for.rst

This code example shows how to loop over a subset of values in order to implement one common use-case of "break" in PHP. I decided to use the "full" notation of slice rather than the sugared version (that example would just be "for user in users[:10]")

Commits
-------

202641a Adding link to slice filter per Stof's suggestion
8ebbaaa Adding a section about the slice filter


Trivial merge