Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37756224
en ru br
ALT Linux repositórios
S:1.7.1-alt2

Group :: Development/Python3
RPM: python3-module-slixmpp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0001-Python3.10-patch.patch
Download


From b1281214514c08adb74212afc68033366331e6d4 Mon Sep 17 00:00:00 2001
From: Caller user <caller@localhost.localdomain>
Date: Tue, 8 Feb 2022 11:10:39 +0000
Subject: [PATCH] Python3.10 patch
---
 slixmpp/thirdparty/orderedset.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/slixmpp/thirdparty/orderedset.py b/slixmpp/thirdparty/orderedset.py
index f6642db..7a88e84 100644
--- a/slixmpp/thirdparty/orderedset.py
+++ b/slixmpp/thirdparty/orderedset.py
@@ -20,9 +20,9 @@
 #     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 #     OTHER DEALINGS IN THE SOFTWARE.
 
-import collections
+from collections.abc import MutableSet
 
-class OrderedSet(collections.MutableSet):
+class OrderedSet(MutableSet):
 
     def __init__(self, iterable=None):
         self.end = end = []
@@ -86,4 +86,4 @@ if __name__ == '__main__':
     t = OrderedSet('simsalabim')
     print(s | t)
     print(s & t)
-    print(s - t)
\ No newline at end of file
+    print(s - t)
-- 
2.33.0
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009