GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — `turtle.teleport` has incorrect-ish signature · Issue #107805 · python/cpython Closed Labels 3.12only security fixesonly security fixesrelease-blockertopic-tkintertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug report
Why?
Notice that it is missing The second problem happens because inside it uses Line 3927 in 52fbcf6
So, when I try to run Traceback (most recent call last): File "/Users/sobolev/Desktop/cpython/ex.py", line 60, in <module> print(teleport()) ^^^^^^^^^^ TypeError: teleport() missing 1 required positional argument: 'x' And with just one arg: Traceback (most recent call last): File "/Users/sobolev/Desktop/cpython/ex.py", line 60, in <module> print(teleport(1)) ^^^^^^^^^^^ File "<string>", line 4, in teleport TypeError: Turtle.teleport() takes from 1 to 3 positional arguments but 4 were given Annotations are also missing. It is not a big problem, but it is inconvenient. I propose using I have a PR ready. Found while working on python/typeshed#10548 Linked PRsReacted by Gregory P. Smith Activity
MetadataMetadataAssigneesLabels3.12only security fixesonly security fixesrelease-blockertopic-tkintertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error Projects
MilestoneRelationshipsDevelopmentIssue actions | ||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |