v440 2.0.0.dev139__tar.gz → 2.0.0.dev141__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.
- {v440-2.0.0.dev139/src/v440.egg-info → v440-2.0.0.dev141}/PKG-INFO +1 -1
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/pyproject.toml +1 -1
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/core/Release.py +8 -9
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/core/Version.py +11 -13
- {v440-2.0.0.dev139 → v440-2.0.0.dev141/src/v440.egg-info}/PKG-INFO +1 -1
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/LICENSE.txt +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/MANIFEST.in +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/README.rst +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/setup.cfg +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/__init__.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/BaseStringer.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/Cfg.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/ListStringer.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/Pattern.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/SlotStringer.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/__init__.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/cfg.toml +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/guarding.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/releaseparse/__init__.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/releaseparse/deleting.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/releaseparse/getting.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/releaseparse/listing.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/releaseparse/numerals.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/releaseparse/ranging.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/_utils/releaseparse/setting.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/core/Base.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/core/Local.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/core/Public.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/core/Qual.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/core/VersionError.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/core/__init__.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/tests/__init__.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/tests/test_testdata.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/tests/test_version.py +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440/tests/testdata.toml +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440.egg-info/SOURCES.txt +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440.egg-info/dependency_links.txt +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440.egg-info/requires.txt +0 -0
- {v440-2.0.0.dev139 → v440-2.0.0.dev141}/src/v440.egg-info/top_level.txt +0 -0
|
@@ -36,20 +36,19 @@ class Release(ListStringer):
|
|
|
36
36
|
@Overloadable
|
|
37
37
|
@setdoc.basic
|
|
38
38
|
def __init__(self: Self, *args: Any, **kwargs: Any) -> bool:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
self._data = ()
|
|
40
|
+
argc: int = len(args) + len(kwargs)
|
|
41
|
+
keys: set = set(kwargs.keys())
|
|
42
|
+
if argc <= 1 and keys <= {"string"}:
|
|
43
|
+
return "string"
|
|
44
|
+
return "data"
|
|
44
45
|
|
|
45
|
-
@__init__.overload(
|
|
46
|
+
@__init__.overload("string")
|
|
46
47
|
def __init__(self: Self, string: Any = "0") -> None:
|
|
47
|
-
self._data = ()
|
|
48
48
|
self.string = string
|
|
49
49
|
|
|
50
|
-
@__init__.overload(
|
|
50
|
+
@__init__.overload("data")
|
|
51
51
|
def __init__(self: Self, data: Iterable) -> None:
|
|
52
|
-
self._data = ()
|
|
53
52
|
self.data = data
|
|
54
53
|
|
|
55
54
|
@setdoc.basic
|
|
@@ -27,29 +27,27 @@ class Version(SlotStringer):
|
|
|
27
27
|
|
|
28
28
|
@Overloadable
|
|
29
29
|
@setdoc.basic
|
|
30
|
-
def __init__(self: Self, *args: Any, **kwargs: Any) ->
|
|
31
|
-
if "string" in kwargs.keys():
|
|
32
|
-
return True
|
|
33
|
-
if len(args) <= 1 and len(kwargs) == 0:
|
|
34
|
-
return True
|
|
35
|
-
return False
|
|
36
|
-
|
|
37
|
-
@__init__.overload(True)
|
|
38
|
-
@setdoc.basic
|
|
39
|
-
def __init__(self: Self, string: Any = "0") -> None:
|
|
30
|
+
def __init__(self: Self, *args: Any, **kwargs: Any) -> str:
|
|
40
31
|
self._public = Public()
|
|
41
32
|
self._local = Local()
|
|
33
|
+
argc: int = len(args) + len(kwargs)
|
|
34
|
+
keys: set = set(kwargs.keys())
|
|
35
|
+
if argc <= 1 and keys <= {"string"}:
|
|
36
|
+
return "string"
|
|
37
|
+
return "slots"
|
|
38
|
+
|
|
39
|
+
@__init__.overload("string")
|
|
40
|
+
@setdoc.basic
|
|
41
|
+
def __init__(self: Self, string: Any = "0") -> None:
|
|
42
42
|
self.string = string
|
|
43
43
|
|
|
44
|
-
@__init__.overload(
|
|
44
|
+
@__init__.overload("slots")
|
|
45
45
|
@setdoc.basic
|
|
46
46
|
def __init__(
|
|
47
47
|
self: Self,
|
|
48
48
|
public: Any = "0",
|
|
49
49
|
local: Any = "",
|
|
50
50
|
) -> None:
|
|
51
|
-
self._public = Public()
|
|
52
|
-
self._local = Local()
|
|
53
51
|
self.public.string = public
|
|
54
52
|
self.local.string = local
|
|
55
53
|
|
|
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
|
|
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
|