Mercurial > hgrepos > Python > libs > data-schema
changeset 27:88ee7d1cc0bb
FIX: documentation of util.get_data_stream(): the returned value must support the context manager protocol
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 08 Jul 2023 12:26:44 +0200 |
| parents | 0ef7141030ca |
| children | db3491e1b590 |
| files | data_schema/util.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/data_schema/util.py Sat Jul 08 12:20:24 2023 +0200 +++ b/data_schema/util.py Sat Jul 08 12:26:44 2023 +0200 @@ -44,7 +44,7 @@ "data:" URIs are resolve within "<basepackage>.<packagesubdir>". - The returned stream needs to be closed as usual. + The returned stream must support the context manager protocol. """ u = rfc3986.URIReference.from_string(uri).normalize()
