From d5a746e1c0515220c3cc6672c4feaa9c5f7170a2 2018-10-10 20:40:12 From: Kory Donati Date: 2018-10-10 20:40:12 Subject: [PATCH] removed args initializer that is not used and removed unneeded code in osm init super call --- diff --git a/IPython/core/magics/osm.py b/IPython/core/magics/osm.py index d77cf8a..ab3c4e3 100644 --- a/IPython/core/magics/osm.py +++ b/IPython/core/magics/osm.py @@ -47,7 +47,7 @@ class OSMagics(Magics): self.execre = re.compile(r'(.*)\.(%s)$' % winext,re.IGNORECASE) # call up the chain - super(OSMagics, self).__init__(shell=shell, **kwargs) + super().__init__(shell=shell, **kwargs) @skip_doctest @@ -520,7 +520,6 @@ class OSMagics(Magics): dh = self.shell.user_ns['_dh'] if parameter_s: - args = [] try: args = map(int,parameter_s.split()) except: