Skip to content

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

Open
@YvesDup

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions