]> granicus.if.org Git - python/commit
bpo-32208: update threading.Semaphore docs and add unit test (GH-4709) (#4750)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 7 Dec 2017 18:48:35 +0000 (10:48 -0800)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Thu, 7 Dec 2017 18:48:35 +0000 (20:48 +0200)
commita04ca12e12b522850e7e9244c250754d3cd36f0a
tree99f8f08ba82758033fe19707869fedcf50305228
parent03031fbc7d44106d652756462db34eae67de9568
bpo-32208: update threading.Semaphore docs and add unit test (GH-4709) (#4750)

* fix issue32208: update threading.Semaphore docs and add unit test to validate correct behavior

* add test for blocking

* Update threading.rst

* semaphore: remove documentation validation tests and move 'return value' test to BaseSemaphore
(cherry picked from commit a0374dd34aa25f0895195d388b5ceff43b121b00)
Doc/library/threading.rst
Lib/test/lock_tests.py