Make the example usage of import_by_path less confusing.

Using import_by_path to import import_by_path is a really odd use case
and makes the code example difficult to read.
Merge pull request #1073 from mjtamlyn/import_by_path-docs-fix

Made the example usage of import_by_path less confusing.