class scope questions

Ben de Luca c941520 at alinga.newcastle.edu.au
Fri Feb 9 23:53:02 EST 2001


if i do this

class a:
         dog='woof'

          def blah():
                    something



how do i call a
how do i get soemthing in blah to refernce dog? either to read it or write
to it







More information about the Python-list mailing list