parameters: ()
return_statement: return display
docstring: Return a candidate display number for which there is currently no
      X Server lock file
docstring_summary: Return a candidate display number for which there is currently no
      X Server lock file
docstring_tokens: Return a candidate display number for which there is currently no X Server lock file
function: def get_unused_display_number():
      """Return a candidate display number for which there is currently no
      X Server lock file"""
      display = FIRST_X_DISPLAY_NUMBER
      while os.path.exists(X_LOCK_FILE_TEMPLATE % display):
        display += 1
      return display
function_tokens: def get_unused_display_number ( ) : display = FIRST_X_DISPLAY_NUMBER while os . path . exists ( X_LOCK_FILE_TEMPLATE % display ) : display += 1 return display