Skip to content

Commit 59eab5c

Browse files
authored
Merge pull request AllenDowney#41 from AmesHarrison/patch-1
new preamble/body demarcation string
2 parents ad64978 + d044b7b commit 59eab5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/analyze_book1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def skip_gutenberg_header(fp):
4040
fp: open file object
4141
"""
4242
for line in fp:
43-
if line.startswith('*END*THE SMALL PRINT!'):
43+
if line.startswith('*** START OF TH'):
4444
break
4545

4646

0 commit comments

Comments
 (0)