diff --git a/IPython/core/inputtransformer.py b/IPython/core/inputtransformer.py index f2ff776..b4ef3e6 100644 --- a/IPython/core/inputtransformer.py +++ b/IPython/core/inputtransformer.py @@ -71,7 +71,7 @@ class StatelessInputTransformer(InputTransformer): self.func = func def __repr__(self): - return "StatelessInputTransformer(func={!r})".format(self.func) + return "StatelessInputTransformer(func={0!r})".format(self.func) def push(self, line): """Send a line of input to the transformer, returning the @@ -90,7 +90,7 @@ class CoroutineInputTransformer(InputTransformer): next(self.coro) def __repr__(self): - return "CoroutineInputTransformer(coro={!r})".format(self.coro) + return "CoroutineInputTransformer(coro={0!r})".format(self.coro) def push(self, line): """Send a line of input to the transformer, returning the