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

Function pow

Lib/operator.py:132–134  ·  view source on GitHub ↗

Same as a ** b.

(a, b)

Source from the content-addressed store, hash-verified

130 return +a
131
132def pow(a, b):
133 "Same as a ** b."
134 return a ** b
135
136def rshift(a, b):
137 "Same as a >> b."

Callers 15

_hash_algorithmFunction · 0.85
__hash__Method · 0.85
_power_moduloMethod · 0.85
_pydecimal.pyFile · 0.85
testArithmeticMethod · 0.85
testMixedPowerMethod · 0.85
test_attributesMethod · 0.85
__pow__Method · 0.85
__rpow__Method · 0.85

Calls

no outgoing calls

Tested by 15

testArithmeticMethod · 0.68
testMixedPowerMethod · 0.68
test_attributesMethod · 0.68
__pow__Method · 0.68
__rpow__Method · 0.68
sqrtMethod · 0.68
test_powMethod · 0.68