Michael Merickel
2014-03-04 82ec99eebc6a6dfe2903bc0383f31a9b146b3d80
update inconsistent effective_principals docs

fixes #1196
1 files modified
7 ■■■■■ changed files
pyramid/security.py 7 ●●●●● patch | view | raw | blame | history
pyramid/security.py
@@ -340,10 +340,9 @@
    @property
    def effective_principals(self):
        """ Return the list of 'effective' :term:`principal` identifiers
        for the ``request``.  This will include the userid of the
        currently authenticated user if a user is currently
        authenticated. If no :term:`authentication policy` is in effect,
        this will return an empty sequence.
        for the ``request``. If no :term:`authentication policy` is in effect,
        this will return a one-element list containing the
        :data:`pyramid.security.Everyone` principal.
        .. versionadded:: 1.5
        """