From 1caa7fafbd3c9870e1bf2b2ac623872447fc804e Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 26 Apr 2014 13:13:13 -0700 Subject: Fix many typos throughout the codebase Found using: https://github.com/intgr/topy --- lib/sqlalchemy/util/_collections.py | 4 ++-- lib/sqlalchemy/util/langhelpers.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/sqlalchemy/util') diff --git a/lib/sqlalchemy/util/_collections.py b/lib/sqlalchemy/util/_collections.py index c0a24ba4f..be80a072e 100644 --- a/lib/sqlalchemy/util/_collections.py +++ b/lib/sqlalchemy/util/_collections.py @@ -859,7 +859,7 @@ class LRUCache(dict): try: del self[item[0]] except KeyError: - # if we couldnt find a key, most + # if we couldn't find a key, most # likely some other thread broke in # on us. loop around and try again break @@ -908,7 +908,7 @@ class ScopedRegistry(object): return self.scopefunc() in self.registry def set(self, obj): - """Set the value forthe current scope.""" + """Set the value for the current scope.""" self.registry[self.scopefunc()] = obj diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py index 8a1164e77..ad1c286f3 100644 --- a/lib/sqlalchemy/util/langhelpers.py +++ b/lib/sqlalchemy/util/langhelpers.py @@ -200,7 +200,7 @@ def get_cls_kwargs(cls, _set=None): Probes a class's __init__ method, collecting all named arguments. If the __init__ defines a \**kwargs catch-all, then the constructor is presumed to - pass along unrecognized keywords to it's base classes, and the collection + pass along unrecognized keywords to its base classes, and the collection process is repeated recursively on each of the bases. Uses a subset of inspect.getargspec() to cut down on method overhead. -- cgit v1.2.1