v440 2.0.0.dev25__tar.gz → 2.0.0.dev26__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.dev25/src/v440.egg-info → v440-2.0.0.dev26}/PKG-INFO +1 -1
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/pyproject.toml +1 -1
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/core/Version.py +1 -16
- {v440-2.0.0.dev25 → v440-2.0.0.dev26/src/v440.egg-info}/PKG-INFO +1 -1
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/LICENSE.txt +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/MANIFEST.in +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/README.rst +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/setup.cfg +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/__init__.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/_utils/BaseList.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/_utils/Cfg.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/_utils/Digest.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/_utils/Pattern.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/_utils/SimpleQualifierParser.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/_utils/SlotList.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/_utils/VList.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/_utils/__init__.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/_utils/cfg.toml +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/_utils/utils.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/core/Base.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/core/Local.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/core/Public.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/core/Qualification.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/core/Release.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/core/VersionError.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/core/__init__.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/tests/__init__.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/tests/test_testdata.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/tests/test_version.py +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440/tests/testdata.toml +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440.egg-info/SOURCES.txt +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440.egg-info/dependency_links.txt +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440.egg-info/requires.txt +0 -0
- {v440-2.0.0.dev25 → v440-2.0.0.dev26}/src/v440.egg-info/top_level.txt +0 -0
|
@@ -51,11 +51,10 @@ class Version(SlotList):
|
|
|
51
51
|
qualification: Qualification
|
|
52
52
|
release: Release
|
|
53
53
|
|
|
54
|
-
def __init__(self: Self, data: Any = "0"
|
|
54
|
+
def __init__(self: Self, data: Any = "0") -> None:
|
|
55
55
|
self._public = Public()
|
|
56
56
|
self._local = Local()
|
|
57
57
|
self.data = data
|
|
58
|
-
self.update(**kwargs)
|
|
59
58
|
|
|
60
59
|
def __str__(self: Self) -> str:
|
|
61
60
|
return self.format()
|
|
@@ -160,17 +159,3 @@ class Version(SlotList):
|
|
|
160
159
|
@release.setter
|
|
161
160
|
def release(self: Self, value: Any) -> None:
|
|
162
161
|
self.base.release = value
|
|
163
|
-
|
|
164
|
-
def update(self: Self, **kwargs: Any) -> None:
|
|
165
|
-
a: Any
|
|
166
|
-
m: str
|
|
167
|
-
x: Any
|
|
168
|
-
y: Any
|
|
169
|
-
for x, y in kwargs.items():
|
|
170
|
-
a = getattr(type(self), x)
|
|
171
|
-
if isinstance(a, property):
|
|
172
|
-
setattr(self, x, y)
|
|
173
|
-
continue
|
|
174
|
-
m: str = "%r is not a property"
|
|
175
|
-
m %= x
|
|
176
|
-
raise AttributeError(m)
|
|
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
|