Fix typos and remove unused import.

This commit is contained in:
florentx 2010-04-20 18:40:58 +02:00
parent 9f6bc93e4d
commit 3c821a0fa4
6 changed files with 15 additions and 14 deletions

View file

@ -111,7 +111,7 @@ side.
Note that we are using the :meth:`~werkzeug.MultiDict.get` method here
which will never fail. If the key is missing a default value (here ``0``)
is returned. Furthermore it can convert values to a specific type (like
in our case `int`). This is especially handy for code that that is
in our case `int`). This is especially handy for code that is
triggered by a script (APIs, JavaScript etc.) because you don't need
special error reporting in that case.

View file

@ -74,10 +74,9 @@ And this is what `views.py` would look like::
.. admonition:: Circular Imports
Every Python programmer hates them, and yet we just added some:
circular imports (That's when two module depend on each one. In this
circular imports (That's when two modules depend on each other. In this
case `views.py` depends on `__init__.py`). Be advised that this is a
bad idea in general but here it is actually fine. The reason for this
is
bad idea in general but here it is actually fine. The reason for this is
that we are not actually using the views in `__init__.py` and just
ensuring the module is imported and we are doing that at the bottom of
the file.