MCPcopy Index your code
hub / github.com/clips/pattern / pop

Method pop

pattern/web/pdf/pdfinterp.py:372–376  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

370 return
371
372 def pop(self, n):
373 if n == 0: return []
374 x = self.argstack[-n:]
375 self.argstack = self.argstack[:-n]
376 return x
377
378 def get_current_state(self):
379 return (self.ctm, self.textstate.copy(), self.graphicstate.copy())

Callers 4

do_SCNMethod · 0.95
do_scnMethod · 0.95
executeMethod · 0.95
do_QMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected