Skip to content

The new public multiprocessing.[R]Lock.locked() method should be add to multiprocessing.[Bounded]Semaphore classes documentation. #132795

New issue

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

Open
YvesDup opened this issue Apr 22, 2025 · 0 comments
Labels
docs Documentation in the Doc dir topic-multiprocessing

Comments

@YvesDup
Copy link
Contributor

YvesDup commented Apr 22, 2025

Documentation

As the new public locked method has been add to the multiprocessing.SemLock base class, this method is also available for multiprocessing.[Bounded]Semaphore, as currently for multprocessing.[R]Lock classes.

The documentation should be updated by adding an entry for each class as below:

.. method:: locked()
Return a boolean indicating whether this object is locked right now.
.. versionadded:: 3.14

Linked issue/PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir topic-multiprocessing
Projects
Status: Todo
Development

No branches or pull requests

2 participants