Show More
@@ -372,7 +372,7 b" def magic_history(self, parameter_s = ''):" | |||||
372 | else: |
|
372 | else: | |
373 | print(inline, end='', file=outfile) |
|
373 | print(inline, end='', file=outfile) | |
374 | else: |
|
374 | else: | |
375 | print(inline,end='', file=outfile) |
|
375 | print(inline, end='', file=outfile) | |
376 | if print_outputs: |
|
376 | if print_outputs: | |
377 | output = self.shell.output_hist.get(in_num) |
|
377 | output = self.shell.output_hist.get(in_num) | |
378 | if output is not None: |
|
378 | if output is not None: |
@@ -1565,7 +1565,6 b' class InteractiveShell(Configurable, Magic):' | |||||
1565 |
|
1565 | |||
1566 | def _indent_current_str(self): |
|
1566 | def _indent_current_str(self): | |
1567 | """return the current level of indentation as a string""" |
|
1567 | """return the current level of indentation as a string""" | |
1568 | #return self.indent_current_nsp * ' ' |
|
|||
1569 | return self.input_splitter.indent_spaces * ' ' |
|
1568 | return self.input_splitter.indent_spaces * ' ' | |
1570 |
|
1569 | |||
1571 | #------------------------------------------------------------------------- |
|
1570 | #------------------------------------------------------------------------- |
@@ -20,7 +20,7 b' class Macro(IPyAutocall):' | |||||
20 | """ |
|
20 | """ | |
21 |
|
21 | |||
22 | def __init__(self,data): |
|
22 | def __init__(self,data): | |
23 |
|
|
23 | """store the macro value, as a single string which can be executed""" | |
24 | self.value = ''.join(data).rstrip()+'\n' |
|
24 | self.value = ''.join(data).rstrip()+'\n' | |
25 |
|
25 | |||
26 | def __str__(self): |
|
26 | def __str__(self): |
General Comments 0
You need to be logged in to leave comments.
Login now