Files
typeshed/python2/_struct.py
2015-05-20 10:14:18 -07:00

30 lines
831 B
Python

"""Stub file for the '_struct' 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.
from typing import List, Tuple, Dict, Undefined, GenericType
def _clearcache() -> None: ...
def calcsize(*args, **kwargs) -> int: ...
def pack(*args, **kwargs) -> str:
raise TypeError()
def pack_into(*args, **kwargs) -> None:
raise TypeError()
def unpack(*args, **kwargs) -> tuple: ...
def unpack_from(*args, **kwargs) -> tuple:
raise TypeError()
class Struct(object):
def __sizeof__() -> long: ...
def pack(*args, **kwargs) -> str: ...
def pack_into(*args, **kwargs) -> None: ...
def unpack(a) -> tuple: ...
def unpack_from(*args, **kwargs) -> tuple: ...