mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-24 17:28:40 +08:00
Use typing_extensions.Self instead of _typeshed.Self (#9702)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
from _typeshed import Self
|
||||
from datetime import datetime, timedelta, tzinfo
|
||||
from typing import Any
|
||||
from typing_extensions import Self
|
||||
|
||||
class TomlTz(tzinfo):
|
||||
def __init__(self, toml_offset: str) -> None: ...
|
||||
def __deepcopy__(self: Self, memo: Any) -> Self: ...
|
||||
def __deepcopy__(self, memo: Any) -> Self: ...
|
||||
def tzname(self, dt: datetime | None) -> str: ...
|
||||
def utcoffset(self, dt: datetime | None) -> timedelta: ...
|
||||
def dst(self, dt: datetime | None) -> timedelta: ...
|
||||
|
||||
Reference in New Issue
Block a user