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

Method __call__

numpy/f2py/symbolic.py:565–572  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

563 return NotImplemented
564
565 def __call__(self, *args, **kwargs):
566 # In Fortran, parenthesis () are use for both function call as
567 # well as indexing operations.
568 #
569 # TODO: implement a method for deciding when __call__ should
570 # return an INDEXING expression.
571 return as_apply(self, *map(as_expr, args),
572 **{k: as_expr(v) for k, v in kwargs.items()})
573
574 def __getitem__(self, index):
575 # Provided to support C indexing operations that .pyf files

Callers

nothing calls this directly

Calls 3

as_applyFunction · 0.85
as_exprFunction · 0.85
itemsMethod · 0.80

Tested by

no test coverage detected