@@ -204,7 +204,7 @@ class CapacityLimiter:
204
204
def release_on_behalf_of (self , borrower : object ) -> None : ...
205
205
def statistics (self ) -> _Statistics : ...
206
206
async def __aenter__ (self ) -> None : ...
207
- async def __aexit__ (self , * exc : object ) -> bool : ...
207
+ async def __aexit__ (self , * exc : object ) -> None : ...
208
208
209
209
class Semaphore :
210
210
value : int
@@ -215,7 +215,7 @@ class Semaphore:
215
215
def release (self ) -> None : ...
216
216
def statistics (self ) -> _Statistics : ...
217
217
async def __aenter__ (self ) -> None : ...
218
- async def __aexit__ (self , * exc : object ) -> bool : ...
218
+ async def __aexit__ (self , * exc : object ) -> None : ...
219
219
220
220
class Lock :
221
221
def locked (self ) -> bool : ...
@@ -224,7 +224,7 @@ class Lock:
224
224
def release (self ) -> None : ...
225
225
def statistics (self ) -> _Statistics : ...
226
226
async def __aenter__ (self ) -> None : ...
227
- async def __aexit__ (self , * exc : object ) -> bool : ...
227
+ async def __aexit__ (self , * exc : object ) -> None : ...
228
228
229
229
class StrictFIFOLock (Lock ):
230
230
pass
@@ -240,7 +240,7 @@ class Condition:
240
240
def notify_all (self ) -> None : ...
241
241
def statistics (self ) -> _Statistics : ...
242
242
async def __aenter__ (self ) -> None : ...
243
- async def __aexit__ (self , * exc : object ) -> bool : ...
243
+ async def __aexit__ (self , * exc : object ) -> None : ...
244
244
245
245
# _highlevel_generic
246
246
async def aclose_forcefully (resource : trio .abc .AsyncResource ) -> None : ...
0 commit comments