26 lines
729 B
Diff
26 lines
729 B
Diff
Upstream: Yes
|
|
|
|
From 08c503bdd1e128118e45fa50be256e27415bbd41 Mon Sep 17 00:00:00 2001
|
|
From: Adrian Georgescu <ag@ag-projects.com>
|
|
Date: Sat, 1 Jan 2022 15:19:37 +0000
|
|
Subject: [PATCH] collections.MutableMapping was deprecated since Python 3.3
|
|
|
|
---
|
|
application/python/weakref.py | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/application/python/weakref.py b/application/python/weakref.py
|
|
index a785a7e..38fd664 100644
|
|
--- a/application/python/weakref.py
|
|
+++ b/application/python/weakref.py
|
|
@@ -1,7 +1,8 @@
|
|
|
|
import weakref
|
|
|
|
-from collections import MutableMapping, deque
|
|
+from collections.abc import MutableMapping
|
|
+from collections import deque
|
|
from copy import deepcopy
|
|
from threading import local
|
|
|