Show More
@@ -49,10 +49,6 def mini_interactive_loop(input_func): | |||||
49 | # Test utilities, just for local use |
|
49 | # Test utilities, just for local use | |
50 | #----------------------------------------------------------------------------- |
|
50 | #----------------------------------------------------------------------------- | |
51 |
|
51 | |||
52 | def assemble(block): |
|
|||
53 | """Assemble a block into multi-line sub-blocks.""" |
|
|||
54 | return ['\n'.join(sub_block)+'\n' for sub_block in block] |
|
|||
55 |
|
||||
56 |
|
52 | |||
57 | def pseudo_input(lines): |
|
53 | def pseudo_input(lines): | |
58 | """Return a function that acts like raw_input but feeds the input list.""" |
|
54 | """Return a function that acts like raw_input but feeds the input list.""" |
General Comments 0
You need to be logged in to leave comments.
Login now