Show More
@@ -19,7 +19,7 b'' | |||
|
19 | 19 | |
|
20 | 20 | create random Python file to exercise Pygments |
|
21 | 21 | |
|
22 | $ cat <<EOF > primes.py | |
|
22 | $ cat <<NO_CHECK_EOF > primes.py | |
|
23 | 23 | > """Fun with generators. Corresponding Haskell implementation: |
|
24 | 24 | > |
|
25 | 25 | > primes = 2 : sieve [3, 5..] |
@@ -51,7 +51,7 b' create random Python file to exercise Py' | |||
|
51 | 51 | > n = 10 |
|
52 | 52 | > p = primes() |
|
53 | 53 | > print("The first %d primes: %s" % (n, list(itertools.islice(p, n)))) |
|
54 | > EOF | |
|
54 | > NO_CHECK_EOF | |
|
55 | 55 | $ echo >> primes.py # to test html markup with an empty line just before EOF |
|
56 | 56 | $ hg ci -Ama |
|
57 | 57 | adding primes.py |
General Comments 0
You need to be logged in to leave comments.
Login now