As of 2016, here's some info from

- Making a private function is easy in web2py : 
   - Functions defined in a model are private.
   - Functions that are defined in controllers and that takes arguments are 
   - Functions defined in controllers and start with ‘__’ [double 
   underscores] are private.
   But functions starting with single ‘_’ are not private and they should 
   not be because some people use them for an ajax callback.
   Functions defined in controllers and having a space after the () and 
   before the ‘:’ are private.
   def pri_action() :
   # do some thing

- (Documentation)
- (Source code)
- (Report Issues)
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to