Skip to content

fix ContextIterator and release

Wout De Nolf requested to merge fix_contextiterator into main

send and throw take arguments

    def close(self):
        """Raise GeneratorExit inside generator.
        """
        try:
>           self.throw(GeneratorExit)
E           TypeError: ContextIterator.throw() takes 1 positional argument but 2 were given

Merge request reports

Loading