Skip to content

Commit

Permalink
Python 2 sneaked through in a comment - thanks @upyesp
Browse files Browse the repository at this point in the history
  • Loading branch information
csev committed Aug 4, 2019
1 parent e2b1c59 commit 2569220
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion book3/08-lists.mkd
Expand Up @@ -982,7 +982,7 @@ of debugging. Here are some common pitfalls and ways to avoid them:
count = 0
for line in fhand:
words = line.split()
# print 'Debug:', words
# print('Debug:', words)
if len(words) == 0 : continue
if words[0] != 'From' : continue
print(words[2])
Expand Down
2 changes: 1 addition & 1 deletion book3/html/08-lists.html
Expand Up @@ -433,7 +433,7 @@ <h2 id="debugging">Debugging</h2>
count = 0
for line in fhand:
words = line.split()
# print &#39;Debug:&#39;, words
# print(&#39;Debug:&#39;, words)
if len(words) == 0 : continue
if words[0] != &#39;From&#39; : continue
print(words[2])</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion html3/08-lists.php
Expand Up @@ -436,7 +436,7 @@
count = 0
for line in fhand:
words = line.split()
# print &#39;Debug:&#39;, words
# print(&#39;Debug:&#39;, words)
if len(words) == 0 : continue
if words[0] != &#39;From&#39; : continue
print(words[2])</code></pre>
Expand Down

0 comments on commit 2569220

Please sign in to comment.