Skip to content
Myr

Fixed wording for circular imports

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 61d07b8 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns.rst+1 added-1 removed
85 unmodified lines
8687.. admonition:: Circular Imports8889 Every Python programmer hates it, and yet we just did that: circular90 imports (That's when one module depends on another one. In this case90 imports (That's when two module depend on each one. In this case91 `views.py` depends on `__init__.py`). Be advised that this is a bad92 idea in general but here it is actually fine. The reason for this is93 that we are not actually using the views in `__init__.py` and just94 ensuring the module is imported and we are doing that at the bottom of
335 unmodified lines