Skip to content

Commit e00d1b6

Browse files
committed
Removed obsolete compatibility functions for old Pythons.
1 parent 5d5e1f5 commit e00d1b6

File tree

3 files changed

+0
-43
lines changed

3 files changed

+0
-43
lines changed

django/utils/copycompat.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

django/utils/hashcompat.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

django/utils/itercompat.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,3 @@ def product(*args, **kwds):
2121
warnings.warn("django.utils.itercompat.product is deprecated; use the native version instead",
2222
PendingDeprecationWarning)
2323
return itertools.product(*args, **kwds)
24-
25-
def all(iterable):
26-
warnings.warn("django.utils.itercompat.all is deprecated; use the native version instead",
27-
DeprecationWarning)
28-
return builtins.all(iterable)
29-
30-
def any(iterable):
31-
warnings.warn("django.utils.itercompat.any is deprecated; use the native version instead",
32-
DeprecationWarning)
33-
return builtins.any(iterable)

0 commit comments

Comments
 (0)