Home
last modified time | relevance | path

Searched refs:__cmp__ (Results 1 – 25 of 1299) sorted by relevance

12345678910>>...52

/dports/devel/py-extremes/Extremes-1.1.1/peak/util/
H A Dextremes.py11 def __cmp__(self, other): member in Extreme
20 return self.__cmp__(other)<0
23 return self.__cmp__(other)<=0
26 return self.__cmp__(other)>0
29 return self.__cmp__(other)==0
32 return self.__cmp__(other)>=0
35 return self.__cmp__(other)<>0
/dports/net/samba412/samba-4.12.15/python/samba/
H A Dcommon.py108 def __cmp__(self, other): member in dsdb_Dn
123 return self.__cmp__(other) == 0
126 return self.__cmp__(other) != 0
129 return self.__cmp__(other) < 0
132 return self.__cmp__(other) <= 0
135 return self.__cmp__(other) > 0
138 return self.__cmp__(other) >= 0
/dports/devel/py-python-application/python-application-2.8.0/application/
H A Dversion.py83 def __cmp__(self, other): member in Version
92 return self.__cmp__(other) <= 0
95 return self.__cmp__(other) < 0
98 return self.__cmp__(other) >= 0
101 return self.__cmp__(other) > 0
104 return self.__cmp__(other) == 0
107 return self.__cmp__(other) != 0
/dports/devel/py-incremental/incremental-21.3.0/src/incremental/
H A D__init__.py57 c = self.__cmp__(other)
63 c = self.__cmp__(other)
69 c = self.__cmp__(other)
75 c = self.__cmp__(other)
81 c = self.__cmp__(other)
87 c = self.__cmp__(other)
112 def __cmp__(self, other): member in _inf
280 def __cmp__(self, other): member in Version
/dports/devel/py-asn1crypto/asn1crypto-1.4.0/asn1crypto/
H A Dutil.py445 return self.__cmp__(other) == 0
469 def __cmp__(self, other): member in extended_date
494 return self.__cmp__(other) < 0
497 return self.__cmp__(other) <= 0
500 return self.__cmp__(other) > 0
503 return self.__cmp__(other) >= 0
742 return self.__cmp__(other) == 0
775 def __cmp__(self, other): member in extended_datetime
801 return self.__cmp__(other) < 0
804 return self.__cmp__(other) <= 0
[all …]
/dports/devel/py-pymaven-patch/pymaven-patch-0.3.0/pymaven/
H A Dversioning.py133 def __cmp__(self, other): member in Restriction
154 return self.__cmp__(other) == 0
161 return self.__cmp__(other) < 0
164 return self.__cmp__(other) != 0
258 def __cmp__(self, other): member in VersionRange
279 return self.__cmp__(other) == 0
285 return self.__cmp__(other) < 0
288 return self.__cmp__(other) != 0
412 def __cmp__(self, other): member in Version
426 return self.__cmp__(other) == 0
[all …]
H A Dartifact.py76 def __cmp__(self, other): member in Artifact
106 return self.__cmp__(other) == 0
109 return self.__cmp__(other) < 0
112 return self.__cmp__(other) != 0
/dports/sysutils/conan/conan-1.44.0/conans/model/
H A Dversion.py131 def __cmp__(self, other): member in Version
175 return self.__cmp__(other) == 1
178 return self.__cmp__(other) == -1
181 return self.__cmp__(other) in [0, -1]
184 return self.__cmp__(other) in [0, 1]
187 return self.__cmp__(other) == 0
/dports/lang/cython/Cython-0.29.24/tests/run/
H A Dspecial_methods_T561_py3.pyx10 >>> # Python 3 does not use __cmp__, so any provided __cmp__ method is
12 >>> vs0_cmp = vs0.__cmp__
15 AttributeError: 'special_methods_T561_py3.VerySpecial' object has no attribute '__cmp__'
73 def __cmp__(self, other): member in VerySpecial
74 print "VS __cmp__ %d %d" % (self.value, other.value)
/dports/lang/cython-devel/cython-2b1e743/tests/run/
H A Dspecial_methods_T561_py3.pyx10 >>> # Python 3 does not use __cmp__, so any provided __cmp__ method is
12 >>> vs0_cmp = vs0.__cmp__
15 AttributeError: 'special_methods_T561_py3.VerySpecial' object has no attribute '__cmp__'
73 def __cmp__(self, other): member in VerySpecial
74 print "VS __cmp__ %d %d" % (self.value, other.value)
/dports/databases/zodb/ZODB-5.6.0/src/ZODB/
H A DConflictResolution.py98 def __cmp__(other): member in IPersistentReference
166 def __cmp__(self, other): member in PersistentReference
182 return self.__cmp__(other) == 0
185 return self.__cmp__(other) != 0
188 return self.__cmp__(other) < 0
191 return self.__cmp__(other) > 0
194 return self.__cmp__(other) <= 0
197 return self.__cmp__(other) >= 0
/dports/www/firefox-legacy/firefox-52.8.0esr/python/macholib/macholib/
H A Dptypes.py209 def __cmp__(self, other): function
232 r = self.__cmp__(other)
237 r = self.__cmp__(other)
242 r = self.__cmp__(other)
247 r = self.__cmp__(other)
252 r = self.__cmp__(other)
257 r = self.__cmp__(other)
/dports/math/py-sympy/sympy-1.9/sympy/core/
H A Dcore.py73 def __cmp__(cls, other): member in BasicMeta
97 if cls.__cmp__(other) == -1:
102 if cls.__cmp__(other) == 1:
/dports/devel/py-macholib/macholib-1.11/macholib/
H A Dptypes.py235 def __cmp__(self, other): function
261 r = self.__cmp__(other)
266 r = self.__cmp__(other)
271 r = self.__cmp__(other)
276 r = self.__cmp__(other)
281 r = self.__cmp__(other)
286 r = self.__cmp__(other)
/dports/math/vtk6/VTK-6.2.0/ThirdParty/Twisted/twisted/python/
H A Dcompat.py201 c = self.__cmp__(other)
208 c = self.__cmp__(other)
215 c = self.__cmp__(other)
222 c = self.__cmp__(other)
229 c = self.__cmp__(other)
236 c = self.__cmp__(other)
/dports/security/py-ropper/Ropper-1.13.6/ropper/common/
H A Denum.py90 def __cmp__(self, other): member in IntEnumElement
97 return self.__cmp__(other) < 0
100 return self.__cmp__(other) <= 0
103 return self.__cmp__(other) == 0
106 return self.__cmp__(other) >= 0
109 return self.__cmp__(other) > 0
/dports/devel/py-filebytes/filebytes-0.10.2/filebytes/
H A Denum.py88 def __cmp__(self, other): member in IntEnumElement
97 return self.__cmp__(other) < 0
100 return self.__cmp__(other) <= 0
103 return self.__cmp__(other) == 0
106 return self.__cmp__(other) >= 0
109 return self.__cmp__(other) > 0
/dports/net/py-geopy/geopy-2.2.0/geopy/
H A Ddistance.py357 def __cmp__(self, other): # py2 only member in Distance
364 return self.__cmp__(other) == 0
367 return self.__cmp__(other) != 0
370 return self.__cmp__(other) > 0
373 return self.__cmp__(other) < 0
376 return self.__cmp__(other) >= 0
379 return self.__cmp__(other) <= 0
/dports/misc/libpostal/libpostal-1.1-alpha/scripts/geodata/
H A Denum.py10 def __cmp__(self, other): member in EnumValue
12 return self.value.__cmp__(other.value)
14 return self.value.__cmp__(other)
/dports/lang/spidermonkey60/firefox-60.9.0/python/mozrelease/mozrelease/
H A Dversions.py8 def __cmp__(self, other): member in MozillaVersionCompareMixin
24 val = LooseVersion.__cmp__(
29 val = StrictVersion.__cmp__(self, other)
/dports/devel/py-twisted/Twisted-22.1.0/src/twisted/python/
H A Dcompat.py249 c = cast(bool, self.__cmp__(other))
255 c = cast(bool, self.__cmp__(other))
261 c = cast(bool, self.__cmp__(other))
267 c = cast(bool, self.__cmp__(other))
273 c = cast(bool, self.__cmp__(other))
279 c = cast(bool, self.__cmp__(other))
/dports/devel/pytype/pytype-2021.9.9/pytype/typeshed/stdlib/@python2/distutils/
H A Dversion.pyi15 def __cmp__(self: _T, other: Union[_T, str]) -> bool: ...
24 def __cmp__(self: _T, other: Union[_T, str]) -> bool: ...
33 def __cmp__(self: _T, other: Union[_T, str]) -> bool: ...
/dports/devel/py-mypy/mypy-0.910/mypy/typeshed/stdlib/@python2/distutils/
H A Dversion.pyi15 def __cmp__(self: _T, other: Union[_T, str]) -> bool: ...
24 def __cmp__(self: _T, other: Union[_T, str]) -> bool: ...
33 def __cmp__(self: _T, other: Union[_T, str]) -> bool: ...
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_copy.py107 def __cmp__(self, other): member in TestCopy.test_copy_inst_vanilla.C
118 def __cmp__(self, other): member in TestCopy.test_copy_inst_copy.C
129 def __cmp__(self, other): member in TestCopy.test_copy_inst_getinitargs.C
140 def __cmp__(self, other): member in TestCopy.test_copy_inst_getstate.C
151 def __cmp__(self, other): member in TestCopy.test_copy_inst_setstate.C
164 def __cmp__(self, other): member in TestCopy.test_copy_inst_getstate_setstate.C
322 def __cmp__(self, other): member in TestCopy.test_deepcopy_inst_vanilla.C
335 def __cmp__(self, other): member in TestCopy.test_deepcopy_inst_deepcopy.C
349 def __cmp__(self, other): member in TestCopy.test_deepcopy_inst_getinitargs.C
363 def __cmp__(self, other): member in TestCopy.test_deepcopy_inst_getstate.C
[all …]
/dports/textproc/translate-toolkit/translate-toolkit-3.5.1/translate/misc/
H A Dmultistring.py43 def __cmp__(self, otherstring): member in multistring
65 return self.__cmp__(otherstring) != 0
68 return self.__cmp__(otherstring) == 0

12345678910>>...52