We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_waiters
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There's no public vars can be used to check Lock has waiters or not... But it has _waiters
But my editor, used typedshed and says: Unresolved attribute reference '_waiters' for class 'Lock'
typedshed
Unresolved attribute reference '_waiters' for class 'Lock'
Also Semaphore already has _waiters type hint...
typeshed/stdlib/asyncio/locks.pyi
Lines 84 to 86 in 26452a7
But it has wrong type. It should be Optional, cause it's None on init:
Optional
None
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
There's no public vars can be used to check Lock has waiters or not...
But it has
_waiters
But my editor, used

typedshed
and says:Unresolved attribute reference '_waiters' for class 'Lock'
Also Semaphore already has
_waiters
type hint...typeshed/stdlib/asyncio/locks.pyi
Lines 84 to 86 in 26452a7
But it has wrong type. It should be

Optional
, cause it'sNone
on init:The text was updated successfully, but these errors were encountered: