diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index 6d0bbad..1cca29c 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -1471,7 +1471,7 @@ class InteractiveShell(SingletonConfigurable): ] # initialize results to 'null' - found = False; obj = None; ospace = None; ds = None; + found = False; obj = None; ospace = None; ds = None ismagic = False; isalias = False; parent = None # We need to special-case 'print', which as of python2.6 registers as a diff --git a/IPython/utils/text.py b/IPython/utils/text.py index 724fe91..07a6f1a 100644 --- a/IPython/utils/text.py +++ b/IPython/utils/text.py @@ -225,7 +225,7 @@ class SList(list): try: n = int(numstr) except ValueError: - n = 0; + n = 0 dsu[i][0] = n