mirror of
https://github.com/simonw/datasette.git
synced 2026-06-02 23:26:59 +02:00
Context manager with open closes the files after usage. When the object is already a pathlib.Path i used read_text write_text functions In some cases pathlib.Path.open were used in context manager, it is basically the same as builtin open. Thanks, Konstantin Baikov! |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| asgi.py | ||
| internal_db.py | ||
| shutil_backport.py | ||
| sqlite.py | ||
| testing.py | ||