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)
| 3217 | buf.buffer.insert((buf.ptr+1)%buf.bufsize, [None]) |
| 3218 | |
| 3219 | def clearstamp(self, stampid): |
| 3220 | """Delete stamp with given stampid |
| 3221 | |
| 3222 | Argument: |
| 3223 | stampid - an integer, must be return value of previous stamp() call. |
| 3224 | |
| 3225 | Example (for a Turtle instance named turtle): |
| 3226 | >>> turtle.color("blue") |
| 3227 | >>> astamp = turtle.stamp() |
| 3228 | >>> turtle.fd(50) |
| 3229 | >>> turtle.clearstamp(astamp) |
| 3230 | """ |
| 3231 | self._clearstamp(stampid) |
| 3232 | self._update() |
| 3233 | |
| 3234 | def clearstamps(self, n=None): |
| 3235 | """Delete all or first/last n of turtle's stamps. |
no test coverage detected