OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
markupsafe
Server IP: 10.0.0.4
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/20/2022 06:47:16 AM
rwxr-xr-x
📄
__init__.py
10.45 KB
03/07/2017 03:30:39 PM
rw-r--r--
📁
__pycache__
-
10/14/2020 08:21:01 AM
rwxr-xr-x
📄
_compat.py
565 bytes
08/09/2014 05:15:26 PM
rw-r--r--
📄
_constants.py
4.68 KB
08/09/2014 05:15:26 PM
rw-r--r--
📄
_native.py
1.16 KB
08/09/2014 05:15:26 PM
rw-r--r--
📄
_speedups.cpython-36m-x86_64-linux-gnu.so
10.38 KB
08/04/2017 06:49:13 AM
rw-r--r--
Editing: _compat.py
Close
# -*- coding: utf-8 -*- """ markupsafe._compat ~~~~~~~~~~~~~~~~~~ Compatibility module for different Python versions. :copyright: (c) 2013 by Armin Ronacher. :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,) iteritems = lambda x: iter(x.items()) else: text_type = unicode string_types = (str, unicode) unichr = unichr int_types = (int, long) iteritems = lambda x: x.iteritems()