##// END OF EJS Templates
and fix test on 3.10.4
Matthias Bussonnier -
Show More
@@ -733,8 +733,10 b' class MaybeAsyncCompile(Compile):'
733 super().__init__()
733 super().__init__()
734 self.flags |= extra_flags
734 self.flags |= extra_flags
735
735
736 def __call__(self, *args, **kwds):
736
737 return compile(*args, **kwds)
737 if sys.version_info < (3,8):
738 def __call__(self, *args, **kwds):
739 return compile(*args, **kwds)
738
740
739
741
740 class MaybeAsyncCommandCompiler(CommandCompiler):
742 class MaybeAsyncCommandCompiler(CommandCompiler):
General Comments 0
You need to be logged in to leave comments. Login now