D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
python35
/
lib
/
python3.5
/
site-packages
/
pip
/
_vendor
/
packaging
/
Filename :
_structures.py
back
Copy
# 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 class InfinityType(object): def __repr__(self): # type: () -> str return "Infinity" def __hash__(self): # type: () -> int return hash(repr(self)) def __lt__(self, other): # type: (object) -> bool return False def __le__(self, other): # type: (object) -> bool return False def __eq__(self, other): # type: (object) -> bool return isinstance(other, self.__class__) def __ne__(self, other): # type: (object) -> bool return not isinstance(other, self.__class__) def __gt__(self, other): # type: (object) -> bool return True def __ge__(self, other): # type: (object) -> bool return True def __neg__(self): # type: (object) -> NegativeInfinityType return NegativeInfinity Infinity = InfinityType() class NegativeInfinityType(object): def __repr__(self): # type: () -> str return "-Infinity" def __hash__(self): # type: () -> int return hash(repr(self)) def __lt__(self, other): # type: (object) -> bool return True def __le__(self, other): # type: (object) -> bool return True def __eq__(self, other): # type: (object) -> bool return isinstance(other, self.__class__) def __ne__(self, other): # type: (object) -> bool return not isinstance(other, self.__class__) def __gt__(self, other): # type: (object) -> bool return False def __ge__(self, other): # type: (object) -> bool return False def __neg__(self): # type: (object) -> InfinityType return Infinity NegativeInfinity = NegativeInfinityType()
Name
Size
Last Modified
Owner
Permissions
Actions
__pycache__
Dir
December 28 2023 9:21:46
root
0755
__about__.py
0.727
KB
December 28 2023 9:20:56
root
0755
__init__.py
0.549
KB
December 28 2023 9:20:56
root
0755
_compat.py
1.111
KB
December 28 2023 9:20:57
root
0755
_structures.py
1.975
KB
December 28 2023 9:20:57
root
0755
_typing.py
1.415
KB
April 29 2020 6:57:10
root
0755
markers.py
9.278
KB
December 28 2023 9:20:56
root
0755
requirements.py
4.798
KB
December 28 2023 9:20:56
root
0755
specifiers.py
30.58
KB
December 28 2023 9:20:56
root
0755
tags.py
23.148
KB
April 29 2020 6:57:10
root
0755
utils.py
1.66
KB
December 28 2023 9:20:57
root
0755
version.py
15.117
KB
December 28 2023 9:20:57
root
0755
2017 © D7net | D704T team