MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / pop

Method pop

suds/resolver.py:275–287  ·  view source on GitHub ↗

Pop the frame at the top of the stack. @return: The popped frame, else None. @rtype: L{Frame}

(self)

Source from the content-addressed store, hash-verified

273 return Frame.Empty()
274
275 def pop(self):
276 """
277 Pop the frame at the top of the stack.
278 @return: The popped frame, else None.
279 @rtype: L{Frame}
280 """
281 if len(self.stack):
282 popped = self.stack.pop()
283 log.debug('pop: (%s)\n%s', Repr(popped), Repr(self.stack))
284 return popped
285 else:
286 log.debug('stack empty, not-popped')
287 return None
288
289 def depth(self):
290 """

Callers

nothing calls this directly

Calls 1

ReprClass · 0.90

Tested by

no test coverage detected