Show More
1 | NO CONTENT: modified file |
|
NO CONTENT: modified file |
@@ -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