##// END OF EJS Templates
censors: simply use `revlog.reading` to keep things open dring rewrite...
censors: simply use `revlog.reading` to keep things open dring rewrite We have a dedicated context now, we can simply use it. In practice, we cannot "simply" use it, as `finddeltainfo` still requires the file pointer to be passed explicitly. We will keep the old context manager open for a small bit until we get rid of it in a future changeset.

File last commit:

r51654:2c34c9b6 default
r51912:66c139d3 default
Show More
__init__.py
9 lines | 294 B | text/x-python | PythonLexer
"""A lil' TOML parser."""
__all__ = ("loads", "load", "TOMLDecodeError")
__version__ = "1.2.3" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
from ._parser import TOMLDecodeError, load, loads
# Pretend this exception was created here.
TOMLDecodeError.__module__ = "tomli"