mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 16:14:24 +08:00
fix xxsubtype.pyi
This commit is contained in:
@@ -1,19 +1,17 @@
|
||||
"""Stub file for the 'xxsubtype' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import Any, List, Tuple, Dict, Generic
|
||||
from typing import Any
|
||||
|
||||
def bench(a, b: str, *args, **kwargs) -> float: ...
|
||||
def bench(obj: Any, name: str, n:int = ...) -> float: ...
|
||||
|
||||
|
||||
class spamdict(object):
|
||||
class spamdict(dict):
|
||||
state = ... # type: int
|
||||
def getstate(self) -> int: ...
|
||||
def setstate(self, a: int) -> None: ...
|
||||
|
||||
class spamlist(object):
|
||||
class spamlist(list):
|
||||
state = ... # type: int
|
||||
def getstate(self) -> int: ...
|
||||
def setstate(self, a: int) -> None: ...
|
||||
def classmeth(self, *args, **kwargs) -> tuple: ...
|
||||
def getstate(self) -> int: ...
|
||||
def setstate(self, a: int) -> None: ...
|
||||
def staticmeth(self, *args, **kwargs) -> tuple: ...
|
||||
|
||||
Reference in New Issue
Block a user