Question

When I trace to a function, inside the function I would like to print the values of those variable names with underscore in the beginning, eg. p __seqLen. It keeps showing AttributeError: AttributeError("Converter instance has no attribute '__seqLen'",) I also tried to use p self.__seqLen. This is also not working. How can I print those values?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top