Invalid dictionary iteration example in docs
Closed this issue · 5 comments
ivanteresh commented
Hello!
In my application i use dictionary iteration, as described on the official docs page:
But, template rendering fails in for key, value in something
statement.
Than I dive into code of your library and see, that key value pair expects to be written without space after comma, like for key,value in something
. So i fixed, and it worked.
Please, actualize your documentation, it will help other people to enjoy dict iteration in your library :)
kylef commented
@ivanteresh which version of Stencil are you using?
ivanteresh commented
@kylef latest, 0.11.0
ilyapuchka commented
This should be fixed with #178
ivanteresh commented
Ok, thx
djbe commented
Closing this as the PR has been merged.