mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
30 lines
839 B
Python
30 lines
839 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: pass
|
|
|
|
def calcsize(*args, **kwargs) -> int: pass
|
|
|
|
def pack(*args, **kwargs) -> str:
|
|
raise TypeError()
|
|
|
|
def pack_into(*args, **kwargs) -> None:
|
|
raise TypeError()
|
|
|
|
def unpack(*args, **kwargs) -> tuple: pass
|
|
|
|
def unpack_from(*args, **kwargs) -> tuple:
|
|
raise TypeError()
|
|
|
|
|
|
class Struct(object):
|
|
def __sizeof__() -> long: pass
|
|
def pack(*args, **kwargs) -> str: pass
|
|
def pack_into(*args, **kwargs) -> None: pass
|
|
def unpack(a) -> tuple: pass
|
|
def unpack_from(*args, **kwargs) -> tuple: pass
|