MCPcopy Create free account
hub / github.com/numpy/numpy / getargvalues

Function getargvalues

numpy/_utils/_inspect.py:113–123  ·  view source on GitHub ↗

Get information about arguments passed into a particular frame. A tuple of four things is returned: (args, varargs, varkw, locals). 'args' is a list of the argument names (it may contain nested lists). 'varargs' and 'varkw' are the names of the * and ** arguments or None. 'locals' i

(frame)

Source from the content-addressed store, hash-verified

111 return args, varargs, varkw, func.__defaults__
112
113def getargvalues(frame):
114 """Get information about arguments passed into a particular frame.
115
116 A tuple of four things is returned: (args, varargs, varkw, locals).
117 'args' is a list of the argument names (it may contain nested lists).
118 'varargs' and 'varkw' are the names of the * and ** arguments or None.
119 'locals' is the locals dictionary of the given frame.
120
121 """
122 args, varargs, varkw = getargs(frame.f_code)
123 return args, varargs, varkw, frame.f_locals
124
125def joinseq(seq):
126 if len(seq) == 1:

Callers

nothing calls this directly

Calls 1

getargsFunction · 0.70

Tested by

no test coverage detected