Merge branch 'master' of github.com:kennethreitz/python-guide

This commit is contained in:
2017-04-27 17:43:35 -04:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ into the corresponding block in the :file:`base.html` page.
.. code-block:: html .. code-block:: html
<!{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<p class="important"> <p class="important">
<div id="content"> <div id="content">
+1
View File
@@ -76,6 +76,7 @@ signal that no argument was provided (:py:data:`None` is often a good choice).
to.append(element) to.append(element)
return to return to
Do not forget, you are passing a *list* object as the second argument.
When the Gotcha Isn't a Gotcha When the Gotcha Isn't a Gotcha
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~