1
0
mirror of https://github.com/django/django.git synced 2025-10-27 07:36:08 +00:00

Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.

This commit is contained in:
Anton Samarchyan
2017-01-24 15:31:57 -05:00
committed by Tim Graham
parent 3f62d20a9b
commit 5411821e3b
118 changed files with 819 additions and 889 deletions

View File

@@ -14,7 +14,7 @@ class PasswordResetTokenGenerator:
def make_token(self, user):
"""
Returns a token that can be used once to do a password reset
Return a token that can be used once to do a password reset
for the given user.
"""
return self._make_token_with_timestamp(user, self._num_days(self._today()))