From b1227de0994bf47c706009f53c734a85b22a55cd 2015-11-09 05:14:55
From: Matthias Bussonnier <bussonniermatthias@gmail.com>
Date: 2015-11-09 05:14:55
Subject: [PATCH] Merge pull request #8958 from sieben/useless_semicolon

Remove useless semicolon
---

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