diff --git a/IPython/core/inputtransformer2.py b/IPython/core/inputtransformer2.py index c9e3f8c..53e114c 100644 --- a/IPython/core/inputtransformer2.py +++ b/IPython/core/inputtransformer2.py @@ -782,7 +782,8 @@ class MaybeAsyncCompile(Compile): super().__init__() self.flags |= extra_flags - __call__ = compile + def __call__(self, *args, **kwds): + return compile(*args, **kwds) class MaybeAsyncCommandCompiler(CommandCompiler):