From 7ab4dda19a34014199cba13fdfaa0794a071adad Mon Sep 17 00:00:00 2001 From: Christian Jensen Date: Wed, 18 Jan 2023 19:03:16 -0800 Subject: [PATCH] Add required import for example to work (#756) If a person were to simply copy this code block it would use the built in `open` and would not work. Adding in the correct import makes this block a bit easier for a simple copy paste. --- README.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/README.rst b/README.rst index 64435232..79b45844 100644 --- a/README.rst +++ b/README.rst @@ -151,6 +151,7 @@ For the sake of simplicity, the examples below assume you have all the dependenc .. code-block:: python >>> import os, boto3 + >>> from smart_open import open >>> >>> # stream content *into* S3 (write mode) using a custom session >>> session = boto3.Session(