All pastes #805057 Raw Edit

Untitled

public text v1 · immutable
·published 2007-12-04 00:32 UTC
rendered paste body
class Complex :
	
	def __init__(self, real, imag) :
		self.real = real
		self.imag = imag
	
	def fromCartesian(real, imag) :
		return __init__(self, real, imag)
	
Complex.fromCartesian(1, 2)