one to many (passing variables)

Chris Angelico rosuav at
Thu Jul 24 09:08:01 CEST 2014

On Thu, Jul 24, 2014 at 4:36 PM, Martin S <shieldfire at> wrote:
> How do you pass data from one function to many?
> I have functions A B and C. If data generated in A is useable in both
> B and C how do I ensure this data is passed as needed? Or is it a
> symptom of bad code?

This is a little vague. Is there one function which calls A and then
calls B and C? What's the relationship between them? Is it logical for
A to itself call B and C? Are they all methods off one object?
Top-level functions in a module?


More information about the Python-list mailing list