nested functions

Alexander V. Voinov avv at quasar.ipa.nw.ru
Thu Feb 24 17:52:57 EST 2000


Hi,

Please remind me, if there are any performance penalties in nesting
functions like this:

def f1():
	....
	def f2(x)
		....

	y = f2(x)


or one should follow the C style? (Definition of f2 in _not_ in a loop,
of course)

Thank you in advance

Alexander




More information about the Python-list mailing list