MCPcopy Create free account
hub / github.com/nodejs/node / release

Method release

tools/gyp/pylib/packaging/version.py:277–290  ·  view source on GitHub ↗

The components of the "release" segment of the version. >>> Version("1.2.3").release (1, 2, 3) >>> Version("2.0.0").release (2, 0, 0) >>> Version("1!2.0.0.post0").release (2, 0, 0) Includes trailing zeroes but not the epoch or any pre-release

(self)

Source from the content-addressed store, hash-verified

275
276 @property
277 def release(self) -> Tuple[int, ...]:
278 """The components of the "release" segment of the version.
279
280 >>> Version("1.2.3").release
281 (1, 2, 3)
282 >>> Version("2.0.0").release
283 (2, 0, 0)
284 >>> Version("1!2.0.0.post0").release
285 (2, 0, 0)
286
287 Includes trailing zeroes but not the epoch or any pre-release / development /
288 post-release suffixes.
289 """
290 return self._version.release
291
292 @property
293 def pre(self) -> Optional[Tuple[str, int]]:

Callers 15

RunSingleMethod · 0.80
setdefaultMethod · 0.80
clearMethod · 0.80
__getitem__Method · 0.80
__setitem__Method · 0.80
__delitem__Method · 0.80
default_environmentFunction · 0.80
_validateContentFunction · 0.80

Calls

no outgoing calls

Tested by 1

RunSingleMethod · 0.64