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) >>> t
(self, stampid)
| 3116 | buf.buffer.insert((buf.ptr+1)%buf.bufsize, [None]) |
| 3117 | |
| 3118 | def clearstamp(self, stampid): |
| 3119 | """Delete stamp with given stampid |
| 3120 | |
| 3121 | Argument: |
| 3122 | stampid - an integer, must be return value of previous stamp() call. |
| 3123 | |
| 3124 | Example (for a Turtle instance named turtle): |
| 3125 | >>> turtle.color("blue") |
| 3126 | >>> astamp = turtle.stamp() |
| 3127 | >>> turtle.fd(50) |
| 3128 | >>> turtle.clearstamp(astamp) |
| 3129 | """ |
| 3130 | self._clearstamp(stampid) |
| 3131 | self._update() |
| 3132 | |
| 3133 | def clearstamps(self, n=None): |
| 3134 | """Delete all or first/last n of turtle's stamps. |
no test coverage detected