mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Imported copyreg from six.moves
This commit is contained in:
@@ -4,11 +4,7 @@ from functools import wraps
|
||||
import sys
|
||||
|
||||
from django.utils import six
|
||||
|
||||
try:
|
||||
import copyreg
|
||||
except ImportError:
|
||||
import copy_reg as copyreg
|
||||
from django.utils.six.moves import copyreg
|
||||
|
||||
|
||||
# You can't trivially replace this with `functools.partial` because this binds
|
||||
|
||||
Reference in New Issue
Block a user