mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add Python 3 modules, and more Python 2 modules.
Also, sort names alphabetically and add module docstrings.
This commit is contained in:
17
python2/xxsubtype.py
Normal file
17
python2/xxsubtype.py
Normal file
@@ -0,0 +1,17 @@
|
||||
"""Stub file for the 'xxsubtype' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more percise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
def bench(a, b: str, *args, **kwargs) -> float: pass
|
||||
|
||||
|
||||
class spamdict(object):
|
||||
def getstate() -> int: pass
|
||||
def setstate(a: int) -> NoneType: pass
|
||||
|
||||
class spamlist(object):
|
||||
def classmeth(*args, **kwargs) -> tuple: pass
|
||||
def getstate() -> int: pass
|
||||
def setstate(a: int) -> NoneType: pass
|
||||
def staticmeth(*args, **kwargs) -> tuple: pass
|
||||
Reference in New Issue
Block a user