X7ROOT File Manager
Current Path:
/lib/python2.7/site-packages/pkg_resources/_vendor/packaging
lib
/
python2.7
/
site-packages
/
pkg_resources
/
_vendor
/
packaging
/
??
..
??
__about__.py
(720 B)
??
__about__.pyc
(792 B)
??
__about__.pyo
(792 B)
??
__init__.py
(513 B)
??
__init__.pyc
(614 B)
??
__init__.pyo
(614 B)
??
_compat.py
(860 B)
??
_compat.pyc
(1.23 KB)
??
_compat.pyo
(1.23 KB)
??
_structures.py
(1.38 KB)
??
_structures.pyc
(4.14 KB)
??
_structures.pyo
(4.14 KB)
??
markers.py
(8.05 KB)
??
markers.pyc
(11.78 KB)
??
markers.pyo
(11.65 KB)
??
requirements.py
(4.25 KB)
??
requirements.pyc
(5.08 KB)
??
requirements.pyo
(5.08 KB)
??
specifiers.py
(27.37 KB)
??
specifiers.pyc
(24.94 KB)
??
specifiers.pyo
(24.94 KB)
??
utils.py
(421 B)
??
utils.pyc
(600 B)
??
utils.pyo
(600 B)
??
version.py
(11.29 KB)
??
version.pyc
(14.25 KB)
??
version.pyo
(14.25 KB)
Editing: _compat.py
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function import sys PY2 = sys.version_info[0] == 2 PY3 = sys.version_info[0] == 3 # flake8: noqa if PY3: string_types = str, else: string_types = basestring, def with_metaclass(meta, *bases): """ Create a base class with a metaclass. """ # This requires a bit of explanation: the basic idea is to make a dummy # metaclass for one level of class instantiation that replaces itself with # the actual metaclass. class metaclass(meta): def __new__(cls, name, this_bases, d): return meta(name, bases, d) return type.__new__(metaclass, 'temporary_class', (), {})
Upload File
Create Folder