diff options
| author | Tim Graham <timograham@gmail.com> | 2017-01-21 20:02:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-21 20:02:00 -0500 |
| commit | d170c63351944fd91b2206d10f89e7ff75b53b76 (patch) | |
| tree | e2be66471ab071fa0ce75097d66650b650c53853 /django/utils/deconstruct.py | |
| parent | c22212220a7900173358a1f16179dcfc9e03de78 (diff) | |
Refs #23919 -- Removed misc references to Python 2.
Diffstat (limited to 'django/utils/deconstruct.py')
| -rw-r--r-- | django/utils/deconstruct.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/deconstruct.py b/django/utils/deconstruct.py index 848b939b40..6bc70f7e53 100644 --- a/django/utils/deconstruct.py +++ b/django/utils/deconstruct.py @@ -24,7 +24,7 @@ def deconstructible(*args, **kwargs): Returns a 3-tuple of class import path, positional arguments, and keyword arguments. """ - # Python 2/fallback version + # Fallback version if path: module_name, _, name = path.rpartition('.') else: |
