Google has provided this for years with the "site:" feature (e.g. search for "lists site:python.org"). In addition, Google uses its own results, since as the article correctly mentions "most site’s internal search engines suck".
"site:" query in Google searches Google index and filters results by domain name, while DDG actually delegates to the actual site and uses the site's search engine, which very rarely is of an acceptable quality.