as a 2-tuple; but raise KeyError if D is empty.
Enter search terms or a module, class or function name.