method prototypes in docs should have self as first argument.
|Reported by:||anonymous||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
For example, the has_perm and has_module_perms prototypes here:
has_perm(self, perm, obj=None):
I guess it's implied by the fact they they are methods, but it would be clearer to just include the self argument.
Change History (6)
comment:1 Changed 22 months ago by edsouza@…
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset