Google-search – How to do a Google site search with a partial URL

google-search

I'm trying to set up a site search query for the Python 3.6 library reference page here:

https://docs.python.org/3.6/library/index.html

I tried the following query:

site:docs.python.org/3 string

I get some relevant looking results, but it's not quite narrowed down enough. Using site:docs.python.org/3.6/library doesn't work at all.

Basically I want search results to match this wildcard pattern:

docs.python.org/3.6/library/*

How can I get this to work with Google search?

Best Answer

Perhaps something like

site:docs.python.org inurl:3.6/library

That should limit results to being in the docs.python.org domain for pages with "3.6/library" somewhere in the URL.