(self, n)
| 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()) |