"John" <washa...@gmail.com> wrote
I have a strange problem with a piece of code I've written. It's a
bit
overly complicated to make an example with, but the gist is below.
But
in the example below, it works. However, in my example, when I call
the method from within the function, it returns something other than
what I expect.
Care to give us a clue?
What did you expect?
What did you get?
What does the real code look like?
Its a bit hard to diagnose your problem based on a bit of code that
works and a loose description of your dissapointment with another
bit of code that may or may not work - depending on what you
expected!
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor