Browse Source

[commands] Fix a typo in the docstring of the internal _Semaphore class

v1.3.x
s0lst1ce 5 years ago
committed by Rapptz
parent
commit
2d48a6d5a1
  1. 2
      discord/ext/commands/cooldowns.py

2
discord/ext/commands/cooldowns.py

@ -179,7 +179,7 @@ class _Semaphore:
value is necessary because I need to support both `wait=True` and
`wait=False`.
An asyncio.Queue could have been used to do this as well -- but it
An asyncio.Queue could have been used to do this as well -- but it is
not as inefficient since internally that uses two queues and is a bit
overkill for what is basically a counter.
"""

Loading…
Cancel
Save