]> granicus.if.org Git - python/commit
bpo-32208: update threading.Semaphore docs and add unit test (#4709)
authorGarrett Berg <googberg@gmail.com>
Thu, 7 Dec 2017 18:04:26 +0000 (11:04 -0700)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Thu, 7 Dec 2017 18:04:26 +0000 (20:04 +0200)
commita0374dd34aa25f0895195d388b5ceff43b121b00
tree3cfd4cd4116c28d44c0ac915af715c5a346f29e0
parent961dbe0548e26394b7716d41423c61b1e2e58ef7
bpo-32208: update threading.Semaphore docs and add unit test (#4709)

* 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
Doc/library/threading.rst
Lib/test/lock_tests.py