docstr: Create the completer
  
  A predicate accepts as its only argument a candidate path and either
  accepts it or rejects it.
docstr_tok: ["Create","the","completer","A","predicate","accepts","as","its","only","argument","a","candidate","path","and","either","accepts","it","or","rejects","it","."]
code: def __init__(self, predicate):
      """
      Create the completer
  
      A predicate accepts as its only argument a candidate path and either
      accepts it or rejects it.
      """
      assert predicate, "Expected a callable predicate"
      self.predicate = predicate
  
imports: import argparse
  import os
  import subprocess
label_desc: Use image node_id 1 to create a new _FilteredFilesCompleter object from inherited base classes: BaseCompleter with example: obj = _FilteredFilesCompleter(predicate)