Skip to content

Commit fe9afd1

Browse files
committed
fixes pep8 W291, E203
1 parent b850d56 commit fe9afd1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

code3/re03.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# Search for lines that start with 'F', followed by
1+
# Search for lines that start with 'F', followed by
22
# 2 characters, followed by 'm:'
33
import re
44
hand = open('mbox-short.txt')
55
for line in hand:
66
line = line.rstrip()
7-
if re.search('^F..m:', line) :
7+
if re.search('^F..m:', line):
88
print(line)
9-

0 commit comments

Comments
 (0)