mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix a typo in a comment
This commit is contained in:
parent
1ab41fc680
commit
39d3bfc4c2
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ def Semaphore(*args, **kwargs):
|
|||
|
||||
class _Semaphore(_Verbose):
|
||||
|
||||
# After Tim Peters' semaphore class, but bnot quite the same (no maximum)
|
||||
# After Tim Peters' semaphore class, but not quite the same (no maximum)
|
||||
|
||||
def __init__(self, value=1, verbose=None):
|
||||
assert value >= 0, "Semaphore initial value must be >= 0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue