Skip to content

Commit 9ff804d

Browse files
committed
Main
1 parent 3cdf89a commit 9ff804d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Contents
2121
Main
2222
----
2323
```python
24-
if __name__ == '__main__': # Runs main() if file was not imported.
24+
if __name__ == '__main__': # Runs main() if file wasn't imported.
2525
main()
2626
```
2727

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ <h1 id="comprehensivepythoncheatsheet">Comprehensive Python Cheatsheet</h1>
215215
}
216216
</code></pre>
217217
<h2 id="main"><a href="#main" name="main">#</a>Main</h2>
218-
<pre><code class="python language-python hljs"><span class="hljs-keyword">if</span> __name__ == <span class="hljs-string">'__main__'</span>: <span class="hljs-comment"># Runs main() if file was not imported.</span>
218+
<pre><code class="python language-python hljs"><span class="hljs-keyword">if</span> __name__ == <span class="hljs-string">'__main__'</span>: <span class="hljs-comment"># Runs main() if file wasn't imported.</span>
219219
main()
220220
</code></pre>
221221
<h2 id="list"><a href="#list" name="list">#</a>List</h2>

0 commit comments

Comments
 (0)