parameters: (self)
return_statement: return Lock(ctx=self.get_context())
docstring: Returns a non-recursive lock object
docstring_summary: Returns a non-recursive lock object
docstring_tokens: Returns a non - recursive lock object
function: def Lock(self):
          '''Returns a non-recursive lock object'''
          from .synchronize import Lock
          return Lock(ctx=self.get_context())
function_tokens: def Lock ( self ) : from . synchronize import Lock return Lock ( ctx = self . get_context ( ) )