class_docstr: Base class for file locks.
      
class_docstr_tok: ["Base","class","for","file","locks","."]
code: def __init__(self, filename):
      self.fd = None
      self.filename = filename
      self.locked = False
  
file_path: whoosh/src/whoosh/util/filelock.py
imports: import errno
  import os
  import sys
  import time
label_desc: Use image node_id 1 to create a new LockBase object from inherited base classes: object with example: obj = LockBase(filename)