Re: Doctests for nested functions

2006-09-23 Thread Paddy
Just wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] wrote: > > > Can doctests be added to nested functions too? (This can be useful to > > me, I use nested function when I don't have attributes that I have to > > remember, but I want to split the logic in some subparts anyway). > > I

Re: Doctests for nested functions

2006-09-23 Thread Just
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > Can doctests be added to nested functions too? (This can be useful to > me, I use nested function when I don't have attributes that I have to > remember, but I want to split the logic in some subparts anyway). I think we had that discuss

Doctests for nested functions

2006-09-22 Thread bearophileHUGS
Recently I have posted this same question on it.comp.lang.python, maybe there aren't solutions, but I'd like to know what you think. Can doctests be added to nested functions too? (This can be useful to me, I use nested function when I don't have attributes that I have to remember, but I want to s