Blame SOURCES/python39.patch

bd29ec
diff --git a/bindings/python/babeltrace/babeltrace.i.in b/bindings/python/babeltrace/babeltrace.i.in
bd29ec
index a773e9b3..b3bb53a0 100644
bd29ec
--- a/bindings/python/babeltrace/babeltrace.i.in
bd29ec
+++ b/bindings/python/babeltrace/babeltrace.i.in
bd29ec
@@ -672,8 +672,8 @@ class CTFScope:
bd29ec
 _scopes = [CTFScope.EVENT_FIELDS, CTFScope.EVENT_CONTEXT, CTFScope.STREAM_EVENT_CONTEXT,
bd29ec
 	CTFScope.STREAM_EVENT_HEADER, CTFScope.STREAM_PACKET_CONTEXT, CTFScope.TRACE_PACKET_HEADER]
bd29ec
 
bd29ec
-import collections
bd29ec
-class Event(collections.Mapping):
bd29ec
+import collections.abc
bd29ec
+class Event(collections.abc.Mapping):
bd29ec
 	"""
bd29ec
 	This class represents an event from the trace.
bd29ec
 	It is obtained using the TraceCollection generator functions.
bd29ec
-- 
bd29ec
2.17.1
bd29ec
bd29ec