Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
08c73d97
Commit
08c73d97
authored
Jun 11, 2017
by
Paul Sokolovsky
Browse files
Options
Downloads
Patches
Plain Diff
docs/btree: Typo/wording fixes.
parent
6ca086a8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/library/btree.rst
+2
-2
2 additions, 2 deletions
docs/library/btree.rst
with
2 additions
and
2 deletions
docs/library/btree.rst
+
2
−
2
View file @
08c73d97
...
@@ -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
sec
tion, etc.
# using uio.BytesIO, a raw flash
parti
tion, 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 stream
w
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).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment