diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 79560db2d09b..c4f36d609e74 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.10' + python-version: '3.7' - name: Install tox run: pip install --upgrade 'setuptools!=50' 'virtualenv>=20.6.0' tox==3.24.5 - name: Setup tox environment diff --git a/docs/source/command_line.rst b/docs/source/command_line.rst index 908fa799da46..10416766f261 100644 --- a/docs/source/command_line.rst +++ b/docs/source/command_line.rst @@ -216,7 +216,7 @@ imports. The default logic used to scan through search paths to resolve imports has a quadratic worse-case behavior in some cases, which is for instance triggered - by a large number of folders sharing a top-level namespace as in: + by a large number of folders sharing a top-level namespace as in:: foo/ company/ @@ -230,7 +230,7 @@ imports. company/ baz/ c.py - ... + ... If you are in this situation, you can enable an experimental fast path by setting the :option:`--fast-module-lookup` option.