Show More
@@ -2125,7 +2125,8 class InteractiveShell(SingletonConfigurable): | |||
|
2125 | 2125 | 'did you mean that instead?)' % magic_name ) |
|
2126 | 2126 | error(etpl % (magic_name, extra)) |
|
2127 | 2127 | elif cell == '': |
|
2128 | raise UsageError('%%%%%s has line but no cell' % magic_name) | |
|
2128 | raise UsageError('%%{0} (with double %) expects code beneath it. ' | |
|
2129 | 'Did you mean %{0} (single %)?'.format(magic_name)) | |
|
2129 | 2130 | else: |
|
2130 | 2131 | # Note: this is the distance in the stack to the user's frame. |
|
2131 | 2132 | # This will need to be updated if the internal calling logic gets |
General Comments 0
You need to be logged in to leave comments.
Login now