void-packages/srcpkgs/python3-colorclass/patches/fix-collections.patch
2021-10-22 07:50:57 -05:00

11 lines
376 B
Diff

--- a/colorclass/codes.py
+++ b/colorclass/codes.py
@@ -1,7 +1,7 @@
"""Handles mapping between color names and ANSI codes and determining auto color codes."""
import sys
-from collections import Mapping
+from collections.abc import Mapping
BASE_CODES = {
'/all': 0, 'b': 1, 'f': 2, 'i': 3, 'u': 4, 'flash': 5, 'outline': 6, 'negative': 7, 'invis': 8, 'strike': 9,