Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
132
def
pow(a, b):
133
"Same as a ** b."
134
return
a ** b
135
136
def
rshift(a, b):
137
"Same as a >> b."
Callers
15
_hash_algorithm
Function · 0.85
__hash__
Method · 0.85
_power_modulo
Method · 0.85
_pydecimal.py
File · 0.85
testArithmetic
Method · 0.85
testMixedPower
Method · 0.85
test_attributes
Method · 0.85
test_set_activation_threshold__threshold_not_reached
Method · 0.85
test_set_activation_threshold__threshold_not_reached
Method · 0.85
__pow__
Method · 0.85
__rpow__
Method · 0.85
test_binary_operator_override
Method · 0.85
Calls
no outgoing calls
Tested by
15
testArithmetic
Method · 0.68
testMixedPower
Method · 0.68
test_attributes
Method · 0.68
test_set_activation_threshold__threshold_not_reached
Method · 0.68
test_set_activation_threshold__threshold_not_reached
Method · 0.68
__pow__
Method · 0.68
__rpow__
Method · 0.68
test_binary_operator_override
Method · 0.68
test_pytype_long_ready
Method · 0.68
test_pow_uses_cached_small_ints
Method · 0.68
sqrt
Method · 0.68
test_pow
Method · 0.68