Commit 0cdbebb6 authored by Tim Gates's avatar Tim Gates Committed by Jürgen Gmach

docs: Fix a few typos

There are small typos in:
- docs/articles/ZODB2.rst
- src/ZODB/Connection.py
- src/ZODB/FileStorage/fsdump.py
- src/ZODB/cross-database-references.rst
- src/ZODB/tests/testblob.py

Fixes:
- Should read `committed` rather than `commited`.
- Should read `resetting` rather than `reseting`.
- Should read `debugging` rather than `debuggin`.
- Should read `constructor` rather than `contructor`.
parent 63dcee8d
...@@ -315,11 +315,11 @@ transactions object:: ...@@ -315,11 +315,11 @@ transactions object::
Subtransactions, sometimes called "inner transactions", are Subtransactions, sometimes called "inner transactions", are
transactions that happen inside another transaction. transactions that happen inside another transaction.
Subtransactions can be commited and aborted like regular "outer" Subtransactions can be committed and aborted like regular "outer"
transactions. Subtransactions mostly provide you with an transactions. Subtransactions mostly provide you with an
optimization technique. optimization technique.
Subtransactions can be commited and aborted. Commiting or Subtransactions can be committed and aborted. Commiting or
aborting a subtransaction does not commit or abort its outer aborting a subtransaction does not commit or abort its outer
transaction, just the subtransaction. This lets you use many, transaction, just the subtransaction. This lets you use many,
fine-grained transactions within one big transaction. fine-grained transactions within one big transaction.
...@@ -336,7 +336,7 @@ If you abort an outer transaction, then all of its inner ...@@ -336,7 +336,7 @@ If you abort an outer transaction, then all of its inner
subtransactions will also be aborted and not saved. If you abort subtransactions will also be aborted and not saved. If you abort
an inner subtransaction, then only the changes made during that an inner subtransaction, then only the changes made during that
subtransaction are aborted, and the outer transaction is *not* subtransaction are aborted, and the outer transaction is *not*
aborted and more changes can be made and commited, including more aborted and more changes can be made and committed, including more
subtransactions. subtransactions.
You can commit or abort a subtransaction by calling either You can commit or abort a subtransaction by calling either
......
...@@ -1069,7 +1069,7 @@ class Connection(ExportImport, object): ...@@ -1069,7 +1069,7 @@ class Connection(ExportImport, object):
# by another thread, so the risk of a reread is pretty low. # by another thread, so the risk of a reread is pretty low.
# It's really not worth the effort to pursue this. # It's really not worth the effort to pursue this.
# Note that we do this *after* reseting the storage so that, if # Note that we do this *after* resetting the storage so that, if
# data are read, we read it from the reset storage! # data are read, we read it from the reset storage!
self._cache.invalidate(src.index) self._cache.invalidate(src.index)
......
...@@ -62,7 +62,7 @@ def fmt(p64): ...@@ -62,7 +62,7 @@ def fmt(p64):
class Dumper(object): class Dumper(object):
"""A very verbose dumper for debuggin FileStorage problems.""" """A very verbose dumper for debugging FileStorage problems."""
# TODO: Should revise this class to use FileStorageFormatter. # TODO: Should revise this class to use FileStorageFormatter.
......
...@@ -144,7 +144,7 @@ the ambiguity. ...@@ -144,7 +144,7 @@ the ambiguity.
Dissallowing implicit cross-database references Dissallowing implicit cross-database references
=============================================== ===============================================
The database contructor accepts a xrefs keyword argument that defaults The database constructor accepts a xrefs keyword argument that defaults
to True. If False is passed, the implicit cross database references to True. If False is passed, the implicit cross database references
are disallowed. (Note that currently, implicit cross references are are disallowed. (Note that currently, implicit cross references are
the only kind of cross references allowed.) the only kind of cross references allowed.)
......
...@@ -624,7 +624,7 @@ def savepoint_isolation(): ...@@ -624,7 +624,7 @@ def savepoint_isolation():
def savepoint_commits_without_invalidations_out_of_order(): def savepoint_commits_without_invalidations_out_of_order():
"""Make sure transactions with blobs can be commited without the """Make sure transactions with blobs can be committed without the
invalidations out of order error (LP #509801) invalidations out of order error (LP #509801)
>>> bs = create_storage() # noqa: F821 undefined name >>> bs = create_storage() # noqa: F821 undefined name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment