Skip to content

Commit

Permalink
Add required import for example to work (#756)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Christian Jensen authored Jan 19, 2023
1 parent 18128f1 commit 7ab4dda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7ab4dda

Please sign in to comment.