MCPcopy Index your code
hub / github.com/python/cpython / __pos__

Method __pos__

Lib/statistics.py:1415–1417  ·  view source on GitHub ↗

Return a copy of the instance.

(x1)

Source from the content-addressed store, hash-verified

1413 return NormalDist(x1._mu / x2, x1._sigma / fabs(x2))
1414
1415 def __pos__(x1):
1416 "Return a copy of the instance."
1417 return NormalDist(x1._mu, x1._sigma)
1418
1419 def __neg__(x1):
1420 "Negates mu while keeping sigma the same."

Callers

nothing calls this directly

Calls 1

NormalDistClass · 0.85

Tested by

no test coverage detected