summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTheron Luhn <theron@luhn.com>2019-12-14 20:27:30 -0600
committerTheron Luhn <theron@luhn.com>2019-12-14 20:27:30 -0600
commitcd0b92d10bfbb38068c216ce44dde9732fa127a8 (patch)
tree97082f115b2043dd4c3a56d617e8a27a6ac02653 /src
parent2cbb91b80438e6f5ec98d004eb5ac8c1650ad176 (diff)
downloadpyramid-cd0b92d10bfbb38068c216ce44dde9732fa127a8.tar.gz
pyramid-cd0b92d10bfbb38068c216ce44dde9732fa127a8.tar.bz2
pyramid-cd0b92d10bfbb38068c216ce44dde9732fa127a8.zip
Update docs.
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/interfaces.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pyramid/interfaces.py b/src/pyramid/interfaces.py
index 11b794e2b..891b851ee 100644
--- a/src/pyramid/interfaces.py
+++ b/src/pyramid/interfaces.py
@@ -484,9 +484,9 @@ class IViewMapperFactory(Interface):
class ISecurityPolicy(Interface):
def identify(request):
- """ Return an object identifying a trusted and verified user.
-
- The object may be anything.
+ """ Return an object identifying a trusted and verified user for the
+ current request. The object can be of any shape, such as a simple ID
+ string or an ORM object.
"""
def authenticated_userid(request, identity):