"site:docs.python.org/3/ term" gets much better results. (You have to add the site: qualifier, due to SEO it's no longer just enough to say "Python docs". Hence "If I wanted the docs, I would get the docs." is not as trivial to do as you suggest. Things actually went beyond annoying to downright dangerous when searches for "Python 3.10 <topic>" were drowned out by older e.g. (3.6-3.8) version SEO stuff, instead of the latest Python docs.)
Queries like "awk by example" or "egrep by example" or "jq by example" seem to hit the sweetspot between completeness and working example: they give you third-party non-commercial unaffiliated expert bloggers not stuffed with upsell links to a bootcamp. Just pure information sites.
Having mentioned all this, now I've probably inadvertently cursed those sites...