MCPcopy Index your code
hub / github.com/nodejs/node / pop

Method pop

tools/gyp/pylib/gyp/common.py:626–631  ·  view source on GitHub ↗
(self, last=True)

Source from the content-addressed store, hash-verified

624
625 # The second argument is an addition that causes a pylint warning.
626 def pop(self, last=True): # pylint: disable=W0221
627 if not self:
628 raise KeyError("set is empty")
629 key = self.end[1][0] if last else self.end[2][0]
630 self.discard(key)
631 return key
632
633 def __repr__(self):
634 if not self:

Callers 15

moveVotingToRegularFunction · 0.80
test.pyFile · 0.80
mkssldef.pyFile · 0.80
UpdatePreprocessorMethod · 0.80
_PopMethod · 0.80
_GetTextInsideFunction · 0.80
__init__Method · 0.80
loadMethod · 0.80
_uninstallMethod · 0.80

Calls 1

discardMethod · 0.95

Tested by 10

run_foozzieFunction · 0.64
_MockCommandMethod · 0.64
executeMethod · 0.64
chdirMethod · 0.64
remove_ignored_flagsMethod · 0.64
get_android_resourcesMethod · 0.64
do_popMethod · 0.64
runMethod · 0.64
CallMethod · 0.64