{
    "mode": "pydoc",
    "parameter": "deb822",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/deb822/json",
    "generated": "2026-06-02T13:23:35Z",
    "sections": {
        "NAME": {
            "content": "deb822 - Deprecated interface to `debian.deb822`\n",
            "subsections": []
        },
        "DATA": {
            "content": "Any = typing.Any\nSpecial type indicating an unconstrained type.\n\n- Any is compatible with every type.\n- Any assumed to have all methods.\n- All values assumed to be instances of Any.\n\nNote that all the above statements are true from the point of view of\nstatic type checkers. At runtime, Any should not be used with instance\nor class checks.\n\nCallable = typing.Callable\nCallable type; Callable[[int], str] is a function of (int) -> str.\n\nThe subscription syntax must always be used with exactly two\nvalues: the argument list and the return type.  The argument list\nmust be a list of types or ellipsis; the return type must be a single type.\n\nThere is no syntax to indicate optional or keyword arguments,\nsuch function types are rarely used as callback types.\n\nDeb822Mapping = None\nDeb822MutableMapping = typing.MutableMapping[str, typing.Any]\nDeb822ValueType = typing.Any\nSpecial type indicating an unconstrained type.\n\n- Any is compatible with every type.\n- Any assumed to have all methods.\n- All values assumed to be instances of Any.\n\nNote that all the above statements are true from the point of view of\nstatic type checkers. At runtime, Any should not be used with instance\nor class checks.\n\nDict = typing.Dict\nA generic version of dict.\n\nFrozenSet = typing.FrozenSet\nA generic version of frozenset.\n\nGPGVDEFAULTKEYRINGS = frozenset({'/usr/share/keyrings/debian-keyring...\nGPGVEXECUTABLE = '/usr/bin/gpgv'\nGenerator = typing.Generator\nA generic version of collections.abc.Generator.\n\nIO = {<class 'bytes'>: None, <class 'str'>: None}\nInputDataType = None\nIterable = typing.Iterable\nA generic version of collections.abc.Iterable.\n\nIterableInputDataType = typing.Union[typing.IO[str], typing.IO[bytes],...\nIterator = typing.Iterator\nA generic version of collections.abc.Iterator.\n\nList = typing.List\nA generic version of list.\n\nMapping = typing.Mapping\nA generic version of collections.abc.Mapping.\n\nMutableMapping = typing.MutableMapping\nA generic version of collections.abc.MutableMapping.\n\nOptional = typing.Optional\nOptional type.\n\nOptional[X] is equivalent to Union[X, None].\n\nSet = typing.Set\nA generic version of set.\n\nTYPECHECKING = False\nTDeb822Dict = ~TDeb822Dict\nTuple = typing.Tuple\nTuple type; Tuple[X, Y] is the cross-product type of X and Y.\n\nExample: Tuple[T1, T2] is a tuple of two elements corresponding\nto type variables T1 and T2.  Tuple[int, float, str] is a tuple\nof an int, a float and a string.\n\nTo specify a variable-length tuple of homogeneous type, use Tuple[T, ...].\n\nType = typing.Type\nA special construct usable to annotate class objects.\n\nFor example, suppose we have the following classes::\n\nclass User: ...  # Abstract base for User classes\nclass BasicUser(User): ...\nclass ProUser(User): ...\nclass TeamUser(User): ...\n\nAnd a function that takes a class argument that's a subclass of\nUser and returns an instance of the corresponding class::\n\nU = TypeVar('U', bound=User)\ndef newuser(userclass: Type[U]) -> U:\nuser = userclass()\n# (Here we could write the user object to a database)\nreturn user\n\njoe = newuser(BasicUser)\n\nAt this point the type checker knows that joe has type BasicUser.\n\nUnion = typing.Union\nUnion type; Union[X, Y] means either X or Y.\n\nTo define a union, use e.g. Union[int, str].  Details:\n- The arguments must be types and there must be at least one.\n- None as an argument is a special case and is replaced by\ntype(None).\n- Unions of unions are flattened, e.g.::\n\nUnion[Union[int, str], float] == Union[int, str, float]\n\n- Unions of a single argument vanish, e.g.::\n\nUnion[int] == int  # The constructor actually returns int\n\n- Redundant arguments are skipped, e.g.::\n\nUnion[int, str, int] == Union[int, str]\n\n- When comparing unions, the argument order is ignored, e.g.::\n\nUnion[int, str] == Union[str, int]\n\n- You cannot subclass or instantiate a union.\n- You can use Optional[X] as a shorthand for Union[X, None].\n",
            "subsections": []
        },
        "FILE": {
            "content": "/usr/lib/python3/dist-packages/deb822.py\n\n",
            "subsections": []
        }
    },
    "summary": "deb822 - Deprecated interface to `debian.deb822`",
    "flags": [],
    "examples": [],
    "see_also": []
}