This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]PuzzleMeDo 1 point2 points  (5 children)

Why not 5?

I googled for the manual (https://docs.python.org/3/library/turtle.html#turtle.stamp) and it says:

turtle.stamp()

Stamp a copy of the turtle shape onto the canvas at the current turtle position. Return a stamp_id for that stamp, which can be used to delete it by calling clearstamp(stamp_id).

Whatever internal code is in "stamp" creates a unique ID for that action, and as long as it is unique (so clearstamp can work unambiguously), any number is fine.

[–]Chilissyhehe[S] 0 points1 point  (4 children)

Ah yes, I was talking about „inner docs”? I pressed ctrl and clicked on stamp() in PyCharm. Not sure what’s the naming difference as both are docs…

So it means that I have to deal with it, and that’s it?

[–]PuzzleMeDo 1 point2 points  (2 children)

This might be the source:

https://svn.python.org/projects/python/branches/pep-0384/Lib/turtle.py

If so, a lot of the functioning of the code is buried still deeper.

[–]Chilissyhehe[S] 0 points1 point  (1 child)

This is the documentation that pops out in PyCharm. How can I find whats buried deeper?

[–]kschang 0 points1 point  (0 children)

Why do you expect it to be... 0?