Skip to content

Commit

Permalink
Merge pull request #446 from bowlofeggs/docs-acl
Browse files Browse the repository at this point in the history
Correct the return type of the Service acl parameter.
  • Loading branch information
leplatrem committed Jun 7, 2017
2 parents 239aecc + b934a54 commit da2f7e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cornice/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ class Service(object):
values. This param is exclusive with the 'acl' one.
:param acl:
A callable defining the ACL (returns true or false, function of the
given request). Exclusive with the 'factory' option.
A callable accepting a request and returning a list of ACLs.
Exclusive with the 'factory' option.
:param permission:
As for ``pyramid.config.Configurator.add_view()``.
Expand Down

0 comments on commit da2f7e3

Please sign in to comment.