parameters: (self)
docstring: Unlock a mutex.  If the queue is not empty, call the next
          function with its argument.
docstring_summary: Unlock a mutex.  If the queue is not empty, call the next
          function with its argument.
docstring_tokens: Unlock a mutex . If the queue is not empty call the next function with its argument .
function: def unlock(self):
          """Unlock a mutex.  If the queue is not empty, call the next
          function with its argument."""
          if self.queue:
              function, argument = self.queue.popleft()
              function(argument)
          else:
              self.locked = 0
function_tokens: def unlock ( self ) : if self . queue : function , argument = self . queue . popleft ( ) function ( argument ) else : self . locked = 0