more detailed comment

This commit is contained in:
Seth Schoen 2012-10-08 18:05:02 -07:00
parent ed9a02af65
commit 8ea8f361a1

View file

@ -20,7 +20,8 @@
#
# The optional one_shot parameter causes the attempt to acquire the
# lock to instead raise a KeyError exception if someone else is already
# holding a valid lock.
# holding a valid lock. This is used in situations where a process
# doesn't insist on doing the actions guarded by the lock.
import time, random