mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Audit stdlib object annotations (#9519)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import datetime
|
||||
import sys
|
||||
from _typeshed import Unused
|
||||
from collections.abc import Iterable, Sequence
|
||||
from time import struct_time
|
||||
from typing import ClassVar
|
||||
@@ -108,7 +109,7 @@ class HTMLCalendar(Calendar):
|
||||
class different_locale:
|
||||
def __init__(self, locale: _LocaleType) -> None: ...
|
||||
def __enter__(self) -> None: ...
|
||||
def __exit__(self, *args: object) -> None: ...
|
||||
def __exit__(self, *args: Unused) -> None: ...
|
||||
|
||||
class LocaleTextCalendar(TextCalendar):
|
||||
def __init__(self, firstweekday: int = ..., locale: _LocaleType | None = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user