From e9ed1eb8ec39f40d859489cc2b66687328b3adbc Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Thu, 12 Oct 2023 14:06:19 -0400 Subject: [PATCH] 19821: Convert CollectionWriter.open docstring to Markdown Arvados-DCO-1.1-Signed-off-by: Brett Smith --- sdk/python/arvados/collection.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/python/arvados/collection.py b/sdk/python/arvados/collection.py index d03790411a..e6b816816d 100644 --- a/sdk/python/arvados/collection.py +++ b/sdk/python/arvados/collection.py @@ -2059,12 +2059,12 @@ class CollectionWriter(CollectionBase): You may only have one file object from the Collection open at a time, so be sure to close the object when you're done. Using the object in - a with statement makes that easy:: + a with statement makes that easy: - with cwriter.open('./doc/page1.txt') as outfile: - outfile.write(page1_data) - with cwriter.open('./doc/page2.txt') as outfile: - outfile.write(page2_data) + with cwriter.open('./doc/page1.txt') as outfile: + outfile.write(page1_data) + with cwriter.open('./doc/page2.txt') as outfile: + outfile.write(page2_data) """ if filename is None: streampath, filename = split(streampath) -- 2.30.2