diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2020-06-26 15:30:57 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-06-26 15:30:57 +0000 |
| commit | ba047cc8cab22541e88ce91936162d6e8164991a (patch) | |
| tree | 6ab348228f67ebcfd478bf598b347484e8a811cd /lib/sqlalchemy/sql/traversals.py | |
| parent | 2d9387354f11da322c516412eb5dfe937163c90b (diff) | |
| parent | 2a1a9f5f5a9723f757439657d2bdf224baed8748 (diff) | |
| download | sqlalchemy-ba047cc8cab22541e88ce91936162d6e8164991a.tar.gz | |
Merge "Fix a wide variety of typos and broken links"
Diffstat (limited to 'lib/sqlalchemy/sql/traversals.py')
| -rw-r--r-- | lib/sqlalchemy/sql/traversals.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/sql/traversals.py b/lib/sqlalchemy/sql/traversals.py index ed0bfa27a..8d01b7ff7 100644 --- a/lib/sqlalchemy/sql/traversals.py +++ b/lib/sqlalchemy/sql/traversals.py @@ -287,7 +287,7 @@ class CacheKey(namedtuple("CacheKey", ["key", "bindparams"])): return None def to_offline_string(self, statement_cache, statement, parameters): - """generate an "offline string" form of this :class:`.CacheKey` + """Generate an "offline string" form of this :class:`.CacheKey` The "offline string" is basically the string SQL for the statement plus a repr of the bound parameter values in series. @@ -295,8 +295,8 @@ class CacheKey(namedtuple("CacheKey", ["key", "bindparams"])): identities in order to work as a cache key, the "offline" version is suitable for a cache that will work for other processes as well. - The given "statement_cache" is a dictionary-like object where the - string form of the statement itself will be cached. this dictionary + The given ``statement_cache`` is a dictionary-like object where the + string form of the statement itself will be cached. This dictionary should be in a longer lived scope in order to reduce the time spent stringifying statements. |
