-
Julian Andres Klode authored
These can return either bytes or str, depending on the bytes argument in their constructors. Make them use Literal[True] and Literal[False] overloads to automatically determine that. This change means apt_pkg.TagFile and apt_pkg.TagSection now require a type parameter in a type annotation. Thanks: Stuart Prescott for the report that object was ... wrong
e6f08afe