Browse Source

Fixed wording for circular imports

pull/1638/head
Armin Ronacher 15 years ago
parent
commit
f54c4fd04f
  1. 2
      docs/patterns.rst

2
docs/patterns.rst

@ -87,7 +87,7 @@ And this is what `views.py` would look like::
.. admonition:: Circular Imports
Every Python programmer hates it, and yet we just did that: circular
imports (That's when one module depends on another one. In this case
imports (That's when two module depend on each one. In this case
`views.py` depends on `__init__.py`). Be advised that this is a bad
idea in general but here it is actually fine. The reason for this is
that we are not actually using the views in `__init__.py` and just

Loading…
Cancel
Save