summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-11 18:22:46 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-11 18:23:13 +0300
commit08c73d9734c3a7458903b10f4e247fe3d6a816b3 (patch)
tree30ce4bdbeac65e8321eeeefdeb73e263bef61860
parent6ca086a89a86ab9b01ad8e1ec4621996b08f06e0 (diff)
downloadmicropython-08c73d9734c3a7458903b10f4e247fe3d6a816b3.tar.gz
micropython-08c73d9734c3a7458903b10f4e247fe3d6a816b3.zip
docs/btree: Typo/wording fixes.
-rw-r--r--docs/library/btree.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/btree.rst b/docs/library/btree.rst
index 7108fba430..6a717692a9 100644
--- a/docs/library/btree.rst
+++ b/docs/library/btree.rst
@@ -22,7 +22,7 @@ Example::
# First, we need to open a stream which holds a 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
# exist and open if it exists. Idiom below takes care of this.
# DO NOT open database with "a+b" access mode.
@@ -103,7 +103,7 @@ Methods
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
- 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
data flushed from buffer to the underlying storage).