MCPcopy Index your code
hub / github.com/numpy/numpy / enable

Method enable

numpy/ma/core.py:2476–2481  ·  view source on GitHub ↗

Set the enabling shrink to `shrink`.

(self, shrink=1)

Source from the content-addressed store, hash-verified

2474 return self._enabled
2475
2476 def enable(self, shrink=1):
2477 """
2478 Set the enabling shrink to `shrink`.
2479
2480 """
2481 self._enabled = shrink
2482
2483 def __str__(self):
2484 return str(self._display)

Callers 4

test_refcountMethod · 0.80
test_frompyfunc_leaksMethod · 0.80
_assert_valid_refcountFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_refcountMethod · 0.64
test_frompyfunc_leaksMethod · 0.64