Fix lint issue in iterative_find.py.

This commit is contained in:
Jonathan Moody 2022-04-26 14:05:58 -04:00
parent 5852fcd287
commit 91a6eae831

View file

@ -276,8 +276,8 @@ class IterativeFinder(AsyncGenerator):
async def __anext__(self) -> typing.List['KademliaPeer']: async def __anext__(self) -> typing.List['KademliaPeer']:
return await super().__anext__() return await super().__anext__()
async def asend(self, val): async def asend(self, value):
return await self.generator.asend(val) return await self.generator.asend(value)
async def athrow(self, typ, val=None, tb=None): async def athrow(self, typ, val=None, tb=None):
return await self.generator.athrow(typ, val, tb) return await self.generator.athrow(typ, val, tb)