diff data_schema/util.py @ 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 68286d27f27d
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()