summaryrefslogtreecommitdiff
path: root/django/utils/deconstruct.py
diff options
context:
space:
mode:
authorAnton Samarchyan <anton.samarchyan@savoirfairelinux.com>2017-01-24 15:32:33 -0500
committerTim Graham <timograham@gmail.com>2017-02-11 16:11:08 -0500
commit9718fa2e8abe430c3526a9278dd976443d4ae3c6 (patch)
treecc9e2c659759bbfdb4c7785c59a909cb2655af0d /django/utils/deconstruct.py
parent98bcc5d81bca578f3a5b4d47907ba4ac40446887 (diff)
Refs #27656 -- Updated django.utils docstring verbs according to PEP 257.
Diffstat (limited to 'django/utils/deconstruct.py')
-rw-r--r--django/utils/deconstruct.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/django/utils/deconstruct.py b/django/utils/deconstruct.py
index c546fc1dea..aa952f6b73 100644
--- a/django/utils/deconstruct.py
+++ b/django/utils/deconstruct.py
@@ -5,10 +5,10 @@ from django.utils.version import get_docs_version
def deconstructible(*args, path=None):
"""
- Class decorator that allow the decorated class to be serialized
+ Class decorator that allows the decorated class to be serialized
by the migrations subsystem.
- Accepts an optional kwarg `path` to specify the import path.
+ The `path` kwarg specifies the import path.
"""
def decorator(klass):
def __new__(cls, *args, **kwargs):
@@ -19,7 +19,7 @@ def deconstructible(*args, path=None):
def deconstruct(obj):
"""
- Returns a 3-tuple of class import path, positional arguments,
+ Return a 3-tuple of class import path, positional arguments,
and keyword arguments.
"""
# Fallback version