@jnothman indeed. We should add a parameter like

`module : {'global', 'sklearn', None} | regexp.`

In the future. What's currently implemented would then be 'global'

I'll update the doc comment.