ch01-12: clean up by @eumiro

This commit is contained in:
Luciano Ramalho
2021-02-14 20:28:07 -03:00
parent 584a7f21ca
commit 03ace4f4ae
33 changed files with 1383 additions and 86 deletions

View File

@@ -36,7 +36,7 @@ Demonstration of ``bisect.bisect_left``::
"""
# BEGIN BISECT_DEMO
# tag::BISECT_DEMO[]
import bisect
import sys
@@ -62,4 +62,4 @@ if __name__ == '__main__':
print('haystack ->', ' '.join(f'{n:2}' for n in HAYSTACK))
demo(bisect_fn)
# END BISECT_DEMO
# end::BISECT_DEMO[]