pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/typeshed/pull/10548/files

"all" rel="stylesheet" href="https://github.githubassets.com/assets/code-2d31826944fd3be8.css" /> Update `turtle` to 3.12 by sobolevn · Pull Request #10548 · python/typeshed · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions stdlib/turtle.pyi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
from collections.abc import Callable, Sequence
from tkinter import Canvas, Frame, Misc, PhotoImage, Scrollbar
from typing import Any, ClassVar, overload
Expand Down Expand Up @@ -249,6 +250,9 @@ class TNavigator:
def reset(self) -> None: ...
def degrees(self, fullcircle: float = 360.0) -> None: ...
def radians(self) -> None: ...
if sys.version_info >= (3, 12):
def teleport(self, x: float | None = None, y: float | None = None, *, fill_gap: bool = False) -> None: ...

def forward(self, distance: float) -> None: ...
def back(self, distance: float) -> None: ...
def right(self, angle: float) -> None: ...
Expand Down Expand Up @@ -321,6 +325,9 @@ class TPen:
def color(self, r: float, g: float, b: float) -> None: ...
@overload
def color(self, color1: _Color, color2: _Color) -> None: ...
if sys.version_info >= (3, 12):
def teleport(self, x: float | None = None, y: float | None = None, *, fill_gap: bool = False) -> None: ...

def showturtle(self) -> None: ...
def hideturtle(self) -> None: ...
def isvisible(self) -> bool: ...
Expand Down
9 changes: 4 additions & 5 deletions tests/stubtest_allowlists/py312.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ smtplib.SMTP_SSL.__init__
sre_parse.Tokenizer.checkgroupname
sre_parse.expand_template
sre_parse.parse_template
turtle.RawTurtle.teleport
turtle.TNavigator.teleport
turtle.TPen.teleport
turtle.__all__
turtle.teleport
typing.ParamSpec.__mro_entries__
typing.ParamSpecArgs.__mro_entries__
typing.ParamSpecKwargs.__mro_entries__
Expand Down Expand Up @@ -98,6 +93,10 @@ zipfile.Path.match
zipfile.Path.relative_to
zipfile.Path.rglob

# TODO: remove after rc2 release
turtle.__all__
turtle.teleport

# Errors that also existed on Python 3.11
_collections_abc.AsyncGenerator.ag_await
_collections_abc.AsyncGenerator.ag_code
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy