Delete stamp with given stampid Argument: stampid - an integer, must be return value of previous stamp() call. Example (for a Turtle instance named turtle): >>> turtle.color("blue") >>> astamp = turtle.stamp() >>> turtle.fd(50) >>> turtle.cle
(self, stampid)
| 2998 | buf.buffer.insert((buf.ptr+1)%buf.bufsize, [None]) |
| 2999 | |
| 3000 | def clearstamp(self, stampid): |
| 3001 | """Delete stamp with given stampid |
| 3002 | |
| 3003 | Argument: |
| 3004 | stampid - an integer, must be return value of previous stamp() call. |
| 3005 | |
| 3006 | Example (for a Turtle instance named turtle): |
| 3007 | >>> turtle.color("blue") |
| 3008 | >>> astamp = turtle.stamp() |
| 3009 | >>> turtle.fd(50) |
| 3010 | >>> turtle.clearstamp(astamp) |
| 3011 | """ |
| 3012 | self._clearstamp(stampid) |
| 3013 | self._update() |
| 3014 | |
| 3015 | def clearstamps(self, n=None): |
| 3016 | """Delete all or first/last n of turtle's stamps. |
no test coverage detected