[Twisted-Python] How to get initialize values of function

Michał Tyde ajchos at wp.pl
Fri Aug 5 07:30:06 EDT 2005

I have code like that:

class class1:
	def funct1(self, some_args):
		if a==b:#(the condition doesn't matter)
			enother_val=funct30().__init__ #it doesn't work
			#i want to have in enother_value="value" - argument from function
	def funct30(self, value):		
		# do something
		# i can't return here a value, because the program work inappropriate

Maybe this is a very simple solution, but i have got now any idea.
Thanks in advance for answers

More information about the Twisted-Python mailing list