Programming FAQ | Modules | ... that mutually import each other? |> Explanation does not correspond with example

At least, that is how it looks to me, a punter. So I reckon if I don't get it, it cannot be entirely down to my own intellectual capacity. My problem concerns the otherwise excellent answer to the Programming FAQ question, 'How can I have modules that mutually import each other? <https://docs.python.org/3/faq/programming.html#how-can-i-have-modules-that-m...> '. The doc lists the steps that the interpreter takes when processing the example import code. The final step, it says, is: "bar.foo_var = foo.foo_var". Yet neither of the example import statements contain that assignment, and the meaning is lost. If the doc's assertion about this is actually valid despite appearances, then the meaning is lost on me, and the explanation therefore missing something. (I'm aware, by the way, that the last feedback I made about the docs resulted in someone replying with the suggestion that I write an edit. I regret that, though I was glad for the response and did indeed put the suggested task on my to do list, my to do list is long and my habit of procrastination great, so I did not even reply to the good volunteer, for want of any useful suggestion.) I hope this feedback is of some use to you. Yours sincerely Mark Ballard

Hi Mark, Does this helps: https://github.com/python/cpython/pull/24705/files? If not, please describe what's missing (I know it's hard, but I can't guess). Bests, -- [Julien Palard](https://mdk.fr)
participants (2)
-
Julien Palard
-
Mark Ballard