MCPcopy Index your code
hub / github.com/data-apis/python-record-api / pop

Method pop

record_api/core.py:342–351  ·  view source on GitHub ↗

return the top item on the stack and removes it from the stack

(self)

Source from the content-addressed store, hash-verified

340 return self.op_stack[-3]
341
342 def pop(self):
343 """
344 return the top item on the stack and removes it from the stack
345 """
346 self.current_i += 1
347 try:
348 return self.op_stack[-self.current_i]
349 except ValueError:
350 # raised when "PyObject is NULL"
351 return self.NULL
352
353 def pop_n(self, n: int) -> List:
354 """

Callers 15

pop_nMethod · 0.95
op_CALL_FUNCTIONMethod · 0.95
op_CALL_FUNCTION_KWMethod · 0.95
op_CALL_FUNCTION_EXMethod · 0.95
op_CALL_METHODMethod · 0.95
__main__Function · 0.80
_copy_pos_or_kwMethod · 0.80
unify_named_typesFunction · 0.80
merge_intersectionFunction · 0.80
unifyFunction · 0.80
unifyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected