(
    package: Package,
    resource: Resource,
    encoding: str = 'utf-8',
    errors: str = 'strict',
)
return TextIOWrapper(
        open_binary(package, resource), encoding=encoding, errors=errors
    )
Return a file-like object opened for text reading of the resource.
Return a file-like object opened for text reading of the resource.
Return a file - like object opened for text reading of the resource .
def open_text(
    package: Package,
    resource: Resource,
    encoding: str = 'utf-8',
    errors: str = 'strict',
) -> TextIO:
    """Return a file-like object opened for text reading of the resource."""
    return TextIOWrapper(
        open_binary(package, resource), encoding=encoding, errors=errors
    )
def open_text ( package : Package , resource : Resource , encoding : str = 'utf-8' , errors : str = 'strict' , ) -> TextIO : return TextIOWrapper ( open_binary ( package , resource ) , encoding = encoding , errors = errors )