File: xxsubtype.pyi

package info (click to toggle)
mypy 0.470-complete-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,864 kB
  • ctags: 3,264
  • sloc: python: 21,838; makefile: 18
file content (17 lines) | stat: -rw-r--r-- 501 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Stub file for the 'xxsubtype' module."""

from typing import Any

def bench(obj: Any, name: str, n: int = ...) -> float: ...

class spamdict(dict):
    state = ...  # type: int
    def getstate(self) -> int: ...
    def setstate(self, a: int) -> None: ...

class spamlist(list):
    state = ...  # type: int
    def getstate(self) -> int: ...
    def setstate(self, a: int) -> None: ...
    def classmeth(self, *args, **kwargs) -> tuple: ...
    def staticmeth(self, *args, **kwargs) -> tuple: ...