MCPcopy
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / pop

Method pop

Stack.py:14–15  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12 self.items.append(item)
13 # 从栈内推出最后一个元素
14 def pop(self):
15 return self.items.pop()
16 # 返回栈顶元素
17 def peek(self):
18 return self.items[len(self.items)-1]

Callers 15

buildParseTreeFunction · 0.95
revstringFunction · 0.95
parCheckerFunction · 0.95
Dec2BinFunction · 0.95
baseConverterFunction · 0.95
infixToPostfixFunction · 0.95
delMinMethod · 0.45
ChangeMakingFunction · 0.45
coinRowFunction · 0.45
dequeueMethod · 0.45
removeFrontMethod · 0.45
removeRearMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected