Skip to content

Commit 5aef1d8

Browse files
authored
Merge pull request #41 from dmachard/fix_quickstart_doc
fix quickstart doc
2 parents 9601ff9 + 559bd8e commit 5aef1d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Then write to the database with the `.put()` method.
5656

5757
>>> import cdblib
5858
>>> with open('/tmp/new.cdb', 'wb') as f:
59-
... with cdblib.Writer(f) as f:
59+
... with cdblib.Writer(f) as writer:
6060
... writer.put(b'key', b'value')
6161

6262
As with the reader class, all keys and values are `bytes` objects.

0 commit comments

Comments
 (0)