cmp3 1.0.0__tar.gz → 1.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cmp3-1.0.0/src/cmp3.egg-info → cmp3-1.0.1}/PKG-INFO +1 -1
- {cmp3-1.0.0 → cmp3-1.0.1}/pyproject.toml +1 -1
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3/core/__init__.py +1 -1
- {cmp3-1.0.0 → cmp3-1.0.1/src/cmp3.egg-info}/PKG-INFO +1 -1
- {cmp3-1.0.0 → cmp3-1.0.1}/LICENSE.txt +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/MANIFEST.in +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/README.rst +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/setup.cfg +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3/__init__.py +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3/tests/__init__.py +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3/tests/test_all_TestCmpABCAndDeco.py +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3/tests/test_all_TestCmpFunction.py +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3/tests/test_all_TestCmpPoset.py +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3/tests/test_core_TestCmpDecoAndCmpABC.py +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3/tests/test_core_TestCmpDecoOnPlainClass.py +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3/tests/test_core_TestCmpModePoset.py +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3/tests/test_core_TestCmpPortingGuide.py +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3/tests/test_core_TestCmpPoset.py +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3.egg-info/SOURCES.txt +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3.egg-info/dependency_links.txt +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3.egg-info/requires.txt +0 -0
- {cmp3-1.0.0 → cmp3-1.0.1}/src/cmp3.egg-info/top_level.txt +0 -0
|
@@ -6,7 +6,7 @@ import setdoc
|
|
|
6
6
|
__all__ = ["CmpABC", "cmp", "cmpDeco"]
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
def cmp(x: Any, y: Any, /, *, mode: str = "portingguide") ->
|
|
9
|
+
def cmp(x: Any, y: Any, /, *, mode: str = "portingguide") -> Any:
|
|
10
10
|
"This function returns a value that compares to 0 as x compares to y."
|
|
11
11
|
if mode == "dunder":
|
|
12
12
|
return x.__cmp__(y)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|