MCPcopy Create free account
hub / github.com/microsoft/debugpy / plus_or_dot

Function plus_or_dot

versioneer.py:1418–1422  ·  view source on GitHub ↗

Return a + if we don't already have one, else return a .

(pieces)

Source from the content-addressed store, hash-verified

1416
1417
1418def plus_or_dot(pieces):
1419 """Return a + if we don't already have one, else return a ."""
1420 if "+" in pieces.get("closest-tag", ""):
1421 return "."
1422 return "+"
1423
1424
1425def render_pep440(pieces):

Callers 4

render_pep440Function · 0.70
render_pep440_branchFunction · 0.70
render_pep440_postFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…