Return the lastly recorded polygon. No argument. Example (for a Turtle instance named turtle): >>> p = turtle.get_poly() >>> turtle.register_shape("myFavouriteShape", p)
(self)
| 3362 | self._creatingPoly = False |
| 3363 | |
| 3364 | def get_poly(self): |
| 3365 | """Return the lastly recorded polygon. |
| 3366 | |
| 3367 | No argument. |
| 3368 | |
| 3369 | Example (for a Turtle instance named turtle): |
| 3370 | >>> p = turtle.get_poly() |
| 3371 | >>> turtle.register_shape("myFavouriteShape", p) |
| 3372 | """ |
| 3373 | ## check if there is any poly? |
| 3374 | if self._poly is not None: |
| 3375 | return tuple(self._poly) |
| 3376 | |
| 3377 | def getscreen(self): |
| 3378 | """Return the TurtleScreen object, the turtle is drawing on. |
nothing calls this directly
no outgoing calls
no test coverage detected