original_docstring: Acquire a read lock. Blocks only if a thread has acquired the write
          lock.
docstring: Acquire a read lock. Blocks only if a thread has acquired the write
  lock.
docstring_tokens: Acquire a read lock . Blocks only if a thread has acquired the write lock .
code: def acquire_read(self):
          """Acquire a read lock. Blocks only if a thread has acquired the write
          lock."""
          self._read_ready.acquire()
          try:
              self._readers += 1
          finally:
              self._read_ready.release()
code_tokens: def acquire_read ( self ) : self . _read_ready . acquire ( ) try : self . _readers += 1 finally : self . _read_ready . release ( )
short_docstring: Acquire a read lock.
short_docstring_tokens: Acquire a read lock .
comment: """Acquire a read lock. Blocks only if a thread has acquired the write
          lock."""