From 25692204fea84767c3ce55be1aafc5e3e1a1e510 Mon Sep 17 00:00:00 2001 From: Charles Severance Date: Sun, 4 Aug 2019 13:00:30 -0400 Subject: [PATCH] Python 2 sneaked through in a comment - thanks @upyesp --- book3/08-lists.mkd | 2 +- book3/html/08-lists.html | 2 +- html3/08-lists.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/book3/08-lists.mkd b/book3/08-lists.mkd index 6e09ca727..43a018a04 100644 --- a/book3/08-lists.mkd +++ b/book3/08-lists.mkd @@ -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]) diff --git a/book3/html/08-lists.html b/book3/html/08-lists.html index bb484cc76..ba70aac04 100644 --- a/book3/html/08-lists.html +++ b/book3/html/08-lists.html @@ -433,7 +433,7 @@

Debugging

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]) diff --git a/html3/08-lists.php b/html3/08-lists.php index 52bf17a30..bd3c1d732 100644 --- a/html3/08-lists.php +++ b/html3/08-lists.php @@ -436,7 +436,7 @@ 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])