[EMAIL PROTECTED], [EMAIL PROTECTED] writes:

> How does one get access to the class that imported a module.  For
> example: foo imports bar -- how does bar access foo?

If bar needs to know something specific from foo, then bar should
expose an interface that asks explicitly for that information, so that
foo can explicitly provide it.

-- 
 \        "Laurie got offended that I used the word 'puke.' But to me, |
  `\              that's what her dinner tasted like."  -- Jack Handey |
_o__)                                                                  |
Ben Finney

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to