Skip to content

Commit

Permalink
Removed try/except examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dougalg authored and anandology committed Jan 5, 2011
1 parent 7184f78 commit 9b2c0d2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions templetor.md
Expand Up @@ -56,15 +56,9 @@ renders as all one line.
$else:
Keep on, you can do it.

$try:
$get(input)
$except:
Couldn't find it.

That's all, folks.

All your old Python friends are here: `if`, `while`, `for`, `try`,
`except`, `else`. `break`, `continue`, and `pass` also act as you'd
All your old Python friends are here: `if`, `while`, `for`, `else`. `break`, `continue`, and `pass` also act as you'd
expect. (Obviously, you can't have variables named any of these.) The
Python code starts at the `$` and ends at the `:`. The `$` has to be
at the beginning of the line, but that's not such a burden because of
Expand Down

0 comments on commit 9b2c0d2

Please sign in to comment.