/snap/core20/2769/usr/lib/python3/dist-packages/markupsafe
NameSizeModeActions
__pycache__/-0755rm
_compat.py5960644editdlrm
_constants.py47280644editdlrm
_native.py19110644editdlrm
_speedups.cpython-38-x86_64-linux-gnu.so148080644editdlrm
__init__.py101640644editdlrm
Edit: /snap/core20/2769/usr/lib/python3/dist-packages/markupsafe/_compat.py (596B)
# -*- coding: utf-8 -*- """ markupsafe._compat ~~~~~~~~~~~~~~~~~~ :copyright: © 2010 by the Pallets team. :license: BSD, see LICENSE for more details. """ import sys PY2 = sys.version_info[0] == 2 if not PY2: text_type = str string_types = (str,) unichr = chr int_types = (int,) def iteritems(x): return iter(x.items()) from collections.abc import Mapping else: text_type = unicode string_types = (str, unicode) unichr = unichr int_types = (int, long) def iteritems(x): return x.iteritems() from collections import Mapping