Skip to content

Commit

Permalink
Fix a few small typos in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwlchan committed Apr 5, 2015
1 parent 502050c commit 972c030
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/api.rst
Expand Up @@ -167,7 +167,7 @@ useful if you want to dig deeper into Jinja2 or :ref:`develop extensions
provided as `exc` is raised if something with the generated undefined
object is done that the undefined object does not allow. The default
exception is :exc:`UndefinedError`. If a `hint` is provided the
`name` may be ommited.
`name` may be omitted.

The most common way to create an undefined object is by providing
a name only::
Expand All @@ -187,7 +187,7 @@ useful if you want to dig deeper into Jinja2 or :ref:`develop extensions
return environment.undefined('no first item, sequence was empty')

If it the `name` or `obj` is known (for example because an attribute
was accessed) it shold be passed to the undefined object, even if
was accessed) it should be passed to the undefined object, even if
a custom `hint` is provided. This gives undefined objects the
possibility to enhance the error message.

Expand Down
2 changes: 1 addition & 1 deletion docs/faq.rst
Expand Up @@ -135,7 +135,7 @@ the traceback may be incomplete. There is currently no good workaround
for Jython or the AppEngine as ctypes is unavailable there and it's not
possible to use the debugsupport extension.

If you are working in the Google Appengine development server you can
If you are working in the Google AppEngine development server you can
whitelist the ctypes module to restore the tracebacks. This however won't
work in production environments::

Expand Down
2 changes: 1 addition & 1 deletion docs/switching.rst
Expand Up @@ -4,7 +4,7 @@ Switching from other Template Engines
.. highlight:: html+jinja

If you have used a different template engine in the past and want to switch
to Jinja2 here is a small guide that shows the basic syntatic and semantic
to Jinja2 here is a small guide that shows the basic syntactic and semantic
changes between some common, similar text template engines for Python.

Jinja1
Expand Down

0 comments on commit 972c030

Please sign in to comment.