Skip to content

Commit

Permalink
None
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouchy committed May 17, 2012
1 parent fbc72b3 commit a55b6f2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions blog/atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="/"/>


<updated>2012-05-17T09:49:27Z</updated>
<updated>2012-05-17T13:25:32Z</updated>

<id>/blog/atom.xml/</id>

Expand Down Expand Up @@ -51,7 +51,7 @@ package/
a directory indicates to the Python interpreter that the directory should be
treated like a Python&amp;nbsp;package&lt;/p&gt;
&lt;h2&gt;What goes in &lt;code&gt;__init__.py&lt;/code&gt;?&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;__init__.py&lt;/code&gt; is often an empty file but it often is used to perform setup needed
&lt;p&gt;&lt;code&gt;__init__.py&lt;/code&gt; can be an empty file but it is often used to perform setup needed
for the package(import things, load things into path,&amp;nbsp;etc).&lt;/p&gt;
&lt;p&gt;One common thing to do in your &lt;code&gt;__init__.py&lt;/code&gt; is to import selected Classes, functions,
etc into the package level so they can be convieniently imported from the&amp;nbsp;package.&lt;/p&gt;
Expand Down
2 changes: 1 addition & 1 deletion blog/be-pythonic-initpy.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h2>What is <code>__init__.py</code> used&nbsp;for?</h2>
a directory indicates to the Python interpreter that the directory should be
treated like a Python&nbsp;package</p>
<h2>What goes in <code>__init__.py</code>?</h2>
<p><code>__init__.py</code> is often an empty file but it often is used to perform setup needed
<p><code>__init__.py</code> can be an empty file but it is often used to perform setup needed
for the package(import things, load things into path,&nbsp;etc).</p>
<p>One common thing to do in your <code>__init__.py</code> is to import selected Classes, functions,
etc into the package level so they can be convieniently imported from the&nbsp;package.</p>
Expand Down
2 changes: 1 addition & 1 deletion blog/excerpts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="/"/>


<updated>2012-05-17T09:49:29Z</updated>
<updated>2012-05-17T13:25:34Z</updated>

<id>/blog/excerpts.xml/</id>

Expand Down
1 change: 1 addition & 0 deletions media/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ body {
min-height: 90%%;
height: auto !important;
height: 90%;
padding-left: 25px;
}

footer {
Expand Down

0 comments on commit a55b6f2

Please sign in to comment.