Lines Matching refs:value
141 def __exit__(self, typ, value, traceback):
150 if value is None:
153 value = typ()
155 self.gen.throw(typ, value, traceback)
160 return exc is not value
163 if exc is value:
173 isinstance(value, StopIteration)
174 and exc.__cause__ is value
176 value.__traceback__ = traceback
186 if exc is not value:
208 async def __aexit__(self, typ, value, traceback):
217 if value is None:
220 value = typ()
222 await self.gen.athrow(typ, value, traceback)
227 return exc is not value
230 if exc is value:
240 isinstance(value, (StopIteration, StopAsyncIteration))
241 and exc.__cause__ is value
243 value.__traceback__ = traceback
253 if exc is not value:
269 yield <value>
282 <variable> = <value>
302 yield <value>
315 <variable> = <value>