summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorianb <devnull@localhost>2007-07-24 01:15:21 +0000
committerianb <devnull@localhost>2007-07-24 01:15:21 +0000
commit62592ce24c79b0bf06cdc8fdb6d66295bbef0fc6 (patch)
tree02d424087f8843056df270d9a7be6f4ac981a008 /docs
parenteac6a8df4a1d6dcdfbdd7e629049b91305da61a1 (diff)
downloadtempita-62592ce24c79b0bf06cdc8fdb6d66295bbef0fc6.tar.gz
doc updates0.1
Diffstat (limited to 'docs')
-rw-r--r--docs/index.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/index.txt b/docs/index.txt
index a2aafc9..593e038 100644
--- a/docs/index.txt
+++ b/docs/index.txt
@@ -240,7 +240,7 @@ some convenient ways. You basically use it like::
...
{{endfor}}
-The ``loop`` object has a bunch of useful methods and attributes::
+The ``loop`` object has a bunch of useful methods and attributes:
``.index``
The index of the current item (like you'd get with
@@ -313,7 +313,7 @@ An example::
>>> tmpl.substitute(locals())
'Hi <img src="bob.jpg">!\n<a href="Attack!&quot;&gt;"><i>Homepage</i></a>'
-It also adds a couple handy builtins::
+It also adds a couple handy builtins:
``html_quote(value)``:
HTML quotes the value. Turns all unicode values into
@@ -366,7 +366,7 @@ Still To Do
like ``for (a, b), c in x``. They should.
* There's no way to handle exceptions, except in your ``py:`` code.
- I'm not sure what there should be.
+ I'm not sure what there should be, if anything.
* Probably I should try to dedent ``py:`` code.
@@ -377,8 +377,8 @@ Still To Do
template code...
{{endcall}}
- That means ``{{expr(result_of_template_code)}}``. But maybe there
- should be another assignment form too, if you don't want to
+ That would mean ``{{expr(result_of_template_code)}}``. But maybe
+ there should be another assignment form too, if you don't want to
immediately put the output in the code. And then you get methods.
Is this going too far?