8000 Remove TaskGroup name arg and get_name() method · python/typeshed@3a4d751 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a4d751

Browse files
committed
Remove TaskGroup name arg and get_name() method
(We plan to remove those from the implementation.)
1 parent 35bddd2 commit 3a4d751

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stdlib/asyncio/taskgroups.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ from .tasks import Task
99
_T = TypeVar("_T")
1010

1111
class TaskGroup:
12-
def __init__(self, *, name: str | None = ...) -> None: ...
13-
def get_name(self) -> str: ...
12+
def __init__(self) -> None: ...
1413
async def __aenter__(self: Self) -> Self: ...
1514
async def __aexit__(self, et: type[BaseException] | None, exc: BaseException | None, tb: TracebackType | None) -> None: ...
1615
def create_task(self, coro: Generator[Any, None, _T] | Coroutine[Any, Any, _T]) -> Task[_T]: ...

0 commit comments

Comments
 (0)
0