[web2py] Re: how to hide function

2011-11-18 Thread miroslavgojic
I tray both methods, dummy argument and two underscore The dummy argument can be fanny :) but I chose to use two underscore (_ + _) = __ Thanks Anthony Miroslav On Nov 18, 9:43 pm, Anthony wrote: > The extra space method is probably a bug (so don't count on it working in > the future) -- inste

[web2py] Re: how to hide function

2011-11-18 Thread Anthony
The extra space method is probably a bug (so don't count on it working in the future) -- instead, you can start the function name with two underscores, or make sure the function takes at least one argument (even if it's a dummy argument that isn't used). See http://web2py.com/book/default/chapt

[web2py] Re: how to hide function

2011-11-18 Thread miroslavgojic
And I have answer for me just use extra space :) for hiding def func1 ():    body of function    return value1 or without extra space is normally visible: def func2():    body of function    return value2 Miroslav On Nov 18, 9:35 pm, miroslavgojic wrote: > In controller I have two functi