Skip to content
Snippets Groups Projects
Commit 08c73d97 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

docs/btree: Typo/wording fixes.

parent 6ca086a8
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ Example:: ...@@ -22,7 +22,7 @@ Example::
# First, we need to open a stream which holds a database # First, we need to open a stream which holds a database
# This is usually a file, but can be in-memory database # This is usually a file, but can be in-memory database
# using uio.BytesIO, a raw flash section, etc. # using uio.BytesIO, a raw flash partition, etc.
# Oftentimes, you want to create a database file if it doesn't # Oftentimes, you want to create a database file if it doesn't
# exist and open if it exists. Idiom below takes care of this. # exist and open if it exists. Idiom below takes care of this.
# DO NOT open database with "a+b" access mode. # DO NOT open database with "a+b" access mode.
...@@ -103,7 +103,7 @@ Methods ...@@ -103,7 +103,7 @@ Methods
Close the database. It's mandatory to close the database at the end of Close the database. It's mandatory to close the database at the end of
processing, as some unwritten data may be still in the cache. Note that processing, as some unwritten data may be still in the cache. Note that
this does not close underlying streamw with which the database was opened, this does not close underlying stream with which the database was opened,
it should be closed separately (which is also mandatory to make sure that it should be closed separately (which is also mandatory to make sure that
data flushed from buffer to the underlying storage). data flushed from buffer to the underlying storage).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment