id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 21855 method prototypes in docs should have self as first argument. anonymous nobody "For example, the has_perm and has_module_perms prototypes here: https://github.com/django/django/blob/6f06c749b73abea84cd61a7bcfd1cc9732fbefe5/docs/topics/auth/customizing.txt#L739 Should say: has_perm(self, perm, obj=None): ... has_module_perms(self, app_label): I guess it's implied by the fact they they are methods, but it would be clearer to just include the self argument." Cleanup/optimization closed Documentation dev Normal wontfix Unreviewed 0 0 0 0 1 0