Skip to content

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

Description

@YvesDup

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions